added unit tests for Issue 47 on phpbrowscap

Hello, I added some unit tests for the Issue 47 of phpbrowscap (see https://github.com/GaretJax/phpbrowscap/issues/47).