test/new: add test script to package.json.