Fix tests in Firefox.