Minor improvement to documentation and beef up testIterators.cpp. Enforce type specified by template in internal method.