fix test for Firefox