simplify mocha task a bit