Generates all test cases from a test case tree