add tests, package.json