Tweak how quirks tests are set up to work better in gecko