added option to `npm test` to run mocha