Fixing npm test for travis