Fix travis.yml and fail test cases.