fix test for user agent override