this use of server is confusing me. may be better to wrap the server startup/shutdown with in `before()` and `after()` so its more clear we clean up appropriately.