pure phantomjs test