add error catch to mocha, yml for travisCI, and create project packagage.json