fix test to run on travis