Mock out various pushState env cases for testing

Adds test coverage for pushState w/ pushState support and pushState w/o pushState support. Note that the latter is currently failing.