Index: /CKEditor/trunk/_source/tests/core/dom/element.html
===================================================================
--- /CKEditor/trunk/_source/tests/core/dom/element.html	(revision 4022)
+++ /CKEditor/trunk/_source/tests/core/dom/element.html	(revision 4023)
@@ -82,4 +82,10 @@
 			assert.areEqual( 'p', element.getName(), 'element name doesn\'t match' );
 			assert.areEqual( 'My test', element.$.innerHTML, 'the innerHTML doesn\'t match' );
+		},
+		
+		test_createFromHtml2 : function()
+		{
+			var element = new CKEDITOR.dom.element.createFromHtml( '<div><x:x><p>Test</p></div>' );
+			assert.areEqual( 'Test', element.getChild( 0, 0 ).innerHTML, "getChild( 0, 0 ) failed for <div><x:x><p>Test</p></div>" );
 		},
 
Index: /CKEditor/trunk/_source/tests/plugins/htmldataprocessor/htmldataprocessor.html
===================================================================
--- /CKEditor/trunk/_source/tests/plugins/htmldataprocessor/htmldataprocessor.html	(revision 4022)
+++ /CKEditor/trunk/_source/tests/plugins/htmldataprocessor/htmldataprocessor.html	(revision 4023)
@@ -87,7 +87,5 @@
 		test_toDataFormat_3 : function()
 		{
-			var element = new CKEDITOR.dom.element.createFromHtml( '<div><x:x><p>Test</p></div>' );
-
-			assert.areSame( '<x:x><p>Test</p></x:x>', getDataProcessor().toDataFormat( element.getHtml() ) );
+			assert.areSame( '<div><x:x><p>Test</p></x:x></div>', getDataProcessor().toDataFormat( '<div><x:x><p>Test</p></div>' ) );
 		},
 
