Implements mocha test and activate travis build