added mocha test environment.