Test 1: Simple each loop

Test 2: Loop variables ($index, $first, $last, $even, $odd)

Test 3: Dynamic add/remove

Test 4: foreach with sort and limit

Test 5: Empty state with else template

Test 6: Self-repeating with foreach

Test 7: for alias

Test 8: each with filter + sort

Test 9: Deprecated from syntax

Test 12: Loop with get/as (API mock)

Test 14: foreach else template with toggle

Test 15: each else template with toggle

Test 16: for else template with toggle