Added basic tests for UserAgentInfo