Converted UserAgentParser tests.