change test setting in package.json

avoid error when use npm test