added testUserAgent