Refactored ListIterator anonymous class into Impl class, additional tests