fix test and travis