Test for nested groups.