Corrected processed test case generation logic.