Added tests for parsing response.