This tests that assigning to document.location from a timeout in a button click adds a back/forward item.