ancestor iterator tests