Detecting Nexus 7 tablet

Seems that Nexus 7 with Android is sending little bit different useragent:
Mozilla/5.0 (Linux; Android 4.2; Nexus 7 Build/JOP40C) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19

Default browser is Chrome so I made it detect Chrome browser first and Android as an OS.
Tests included.