fixed phantomjs test suite