fix test failure on travis