Test <p> with id="test" and class="testClass". It contains a
<b> with id="testB".
<p> with id="test2" and class="nonsense testClass"
<ppk> tag.
This <img>has name (and not id!) test3

<div> also has id="test". It should
be ignored, since there's a previous element with id="test".