Refine test case.