Made `npm test` work with travis