Stash old window.open on testcase