added Mocha and Travis CI support