Adding a test for setting the http client user agent