fixup! Add test for window.top

Apparently we're not meant to go more than three deep.
Add history transversal tests.
Naviagating across documents tests.