Assertions now work.  DOMBuilder was constructing nodes but never attached the root element as documentElement.