Fix test bug: test expects at least one child document.