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