This change is a refactor to not leave "bad examples" in the test code wrongly restoring `window.gon` to its previous states unnecessarily.