move test.js to test dir
add testing unit using mocha