fixing tests on travis