fix dep
added mocha test