fix test for firefox