Attempt to fix tests on travis ci