corrected unittests for issue 47 of phpbrowscap