make test suite compatible with firefox