add foreach test-case