prepare test case