Implemented testIterator. Fixed up some stuff...