updating test/helpers with user agent