refactored the test cases to run the server only once