failing test for history.pushState

Calling `history.pushState(stateObj, title, url)` should set `history.state`
to the value of the argument `stateObj`. Instead, history.state is
undefined. See related phantomjs issue:
https://code.google.com/p/phantomjs/issues/detail?id=1100