Add npm test script to package.json.