Prepare for testcase