fix test for travis ci