Test history.pushState/replaceState