Added unit test for server response