Add mocha dependency and travis badge