added test for http_request class