Iterators and test cases.