Prepare test case.