Added tests to correctly check data in http requests.