Create test case for HttpClient.