change travis config and test cases