fix tests to work with travis