Index: CKEditor/trunk/_source/tests/core/ckeditor.html
===================================================================
--- CKEditor/trunk/_source/tests/core/ckeditor.html	(revision 4011)
+++ CKEditor/trunk/_source/tests/core/ckeditor.html	(revision 4012)
@@ -10,6 +10,15 @@
 	<script type="text/javascript">
 	//<![CDATA[
+	// Clean up all instances been created on the page.
+	function removeAllInstances()
+	{
+		var allInstances = CKEDITOR.instances;
+		for( var i in allInstances )
+		{
+			CKEDITOR.remove(  allInstances[ i ] );
+		}
+	}
 
-CKEDITOR.test.addTestCase( (function()
+	CKEDITOR.test.addTestCase( (function()
 {
 	// Local reference to the "assert" object.
@@ -128,4 +137,9 @@
 		},
 
+		setUp : function()
+		{
+			removeAllInstances();
+		},
+
 		name : document.title
 	};
