For now, I prefer the latter solution, but it makes sense to factor it out to module-level if any other tests need the server.