Close iterator in TestDataInterface