Add additional tests for various iterators.

Expand documentation and tests for iterators.