added test coverage for when user agent can't be determined