test for make_http_request