discard test code for user agent