Just got my paperwork sorted, yay! (Famous last words.) I've attempted to rework the test as suggested. It now runs in process instead of spawning another Emacs. I wasn't sure whether having url-http as a dependency made sense but left it as is. Happy to change whatever needs changing. Thanks again, J.P.