test: fix tests in Firefox