Fix npm test for a travis issue.