add test
Merge pull request #289 from mimmi20/issue-288

Fixes #288
Merge branch 'master' of https://github.com/browscap/browscap into json-output