fixup! Fix: Assertion failure with inserting child with id into orphaned subtree.
Add some assert logs for test_document_getElementById.html.