fix tests on travis