updated the test case for travis CI