Test written: testDomElInDom