fix up test failures by switching to selenium webdriver; phantomjs does not currently support the history API