[RFR] Fix tests on travis