update package.json
add tests