Faulty npm test