test useragent sniffing