Add mocha tests and travis conf