Tweak tests to pass on Firefox.