Test <p> with id="test" and class="testClass". It contains a <b> with id="testB".

<p> with id="test2" and class="nonsense testClass"

This is a <ppk> tag.

This <img>has name (and not id!) test3

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