fixing test case when running all test cases