Fix tests on travis#465