add mocha dependency