changing the server to make sure that it is killed when the test ends