Add script test to package.json