Fix HistoryLocation test for static site testing.
Merge pull request #3491 from rjackson/fix_pushstate_test

Fix HistoryLocation test for static site testing.