change iteratorTest to use sql dao