name bug fix and rebuild
add test case by mocha
update readme