Fixed Travis CI test cases