mocha tests refactor
Travis CI setup