Prepare test cases