Fix tests in Firefox. No functionality changes.

Close gh-69