Fixed npm test issue