finish iterator unit test