regressions tests in phantomjs