added test related to sqlalchemy iterator