Set up npm test correctly