prepare test cases