Fix error in tests and use children instead of group_id_to_child.