Add unit test for android tablet useragent
refactoring
Add unit test for iPhone useragent