test for httpclient