fix for npm test