test case fix up