Added test to check that get_proxy is called from get_response