add test cases
add script test config for npm test
modify package.json