added mocha tests to replace vows tests