http client tests