Added lastIterator bounds test