add support for npm test