Adding test to cover a nested collection of child elements which have attributes