Add mocha test and travis file