add doctests to iter