This tests that elements return their correct parent element.

This test should only be run inside of DumpRenderTree.