fix tests for firefox