- Replace manual `while (iter.MoveNext())` loops with `foreach` loops in tests - Implement batching and mutation flushing in `CommandQueue.ExecuteAll` to ensure chained commands see each other's changes