Update test to account for post-render DOM state

Currently dompdf remove nodes from the DOM object as it
parses the content. Post-render the contained text is an
empty string.