Index: CKEditor/trunk/_source/tests/core/dom/document.html
===================================================================
--- CKEditor/trunk/_source/tests/core/dom/document.html	(revision 3471)
+++ CKEditor/trunk/_source/tests/core/dom/document.html	(revision 3474)
@@ -14,5 +14,6 @@
 {
 	// Local reference to the "assert" object.
-	var assert = CKEDITOR.test.assert;
+	var assert = CKEDITOR.test.assert,
+		arrayAssert = YAHOO.util.ArrayAssert;
 
 	return {
@@ -90,4 +91,29 @@
 			assert.areSame( document.body, doc.getBody().$, '2nd call failed' );
 		},
+		test_createText : function()
+		{
+			var doc = new CKEDITOR.dom.document( document ), contentText = 'text content';
+			var textNode = doc.createText( contentText );
+			assert.areSame( contentText, textNode.getText(),
+				'Create text node content doesn\'t match.' );
+		},
+
+		test_getByAddress1 : function()
+		{
+			var doc = new CKEDITOR.dom.document( document );
+			var node = doc.getByAddress( [ 1, 1, 0, 1, 0, 0 ] );
+			assert.areSame( 'target', node.getText(),
+				'Addressing target doesn\'t match.' );
+		},
+		
+		test_getElementsByTag : function()
+		{
+			var nodeList = new CKEDITOR.dom.document( document ).getElementsByTag( 'span' ),
+				results = [];
+			for( var i = 0; i < nodeList.count(); i++ ){
+				results.push( nodeList.getItem( i ).$ );
+			}
+			arrayAssert.itemsAreEqual( results, document.getElementsByTagName( 'span' ) );
+		},
 
 		name : document.title
@@ -98,6 +124,4 @@
 	</script>
 </head>
-<body>
-	<div id="test1"></div>
-</body>
+<body><div id="test1"></div><div><p>text<span><b id="addressTarget1">target</b>text</span>text</p></div><span ><b id="addressTarget2">target</b></span></body>
 </html>
