rollback and freeze mocha-phantomjs