fix test in travis-ci