Added tests for the response when posting to server.