add mocha as a dev dependency and use local mocha installation
ES6 rest and default parameter