added mocha as a dev dependency for travis ci