Added proper unit test that doesn't run the server