make HTTP client test work