adding iterator constructor tests