Adds test script to package.json