Fix coverage tests on travis