fixes tests on travis