Run mocha programmly.