test: fix style
add "npm test" ability