add mocha dependency for travis