fix package.json test script bug