1 This test does the following:
2 -Makes a call to pushState()
3 -Makes sure the history length is correct
4 -Makes a call to replaceState()
5 -Makes sure the history length is correct
6 -Goes back, and makes sure the popstate event is correct
7 -Goes forward, and makes sure the popstate event represents the replaced state object
11 State popped - null (type object)
12 State popped - 1 (type number)