add mocha tests for travis CI integration tests on code commit

squash all commits to single commit