fix package.json and npm test