fix nested testcase, clarify flat testcase