setup npm test properly