fix test under travis