added mocha test framework and build