fix npm test for travis