fix test cases
enabling travis CI