Revert changes to tst for document.open + setTimeout, since they may be wrong.