added test.js & mocha