add test script and package.json