fixed mocha to use dev dependency