install mocha at the start