Implemented stubs for listIterator and tests