tests: fix mocha-phantomjs

some day we will stop using mocha-phantomjs i promise