tests for user agent header