add test
Merge pull request #299 from mimmi20/issue-298

Fixes #298
Merge branch 'master' of https://github.com/browscap/browscap into issue-3