Fixed the pushstate #652 test to ensure that it should pass in all libraries and phantomjs

This test used to have timing issues but has had a lot of cross-browser and cross-library issues.