Fixed testcase for travis