Add a test script entry to package.json.