simples tests iter for tree