test if child/parent collections are the same