improve test case.