Add test for mutating iterated records of an array