Added user agent support to TestWebSettings