Index: /CKEditor/branches/prototype/_source/tests/core/_editor/custom_config_1.js
===================================================================
--- /CKEditor/branches/prototype/_source/tests/core/_editor/custom_config_1.js	(revision 2449)
+++ /CKEditor/branches/prototype/_source/tests/core/_editor/custom_config_1.js	(revision 2450)
@@ -20,7 +20,6 @@
  */
 
-CKEDITOR.editorConfig = function( editor )
+CKEDITOR.editorConfig = function( config )
 {
-	var config = editor.config;
 	config.customConfig = '_editor/custom_config_2.js';
 	config.test_custom1 = 'Ok';
Index: /CKEditor/branches/prototype/_source/tests/core/_editor/custom_config_2.js
===================================================================
--- /CKEditor/branches/prototype/_source/tests/core/_editor/custom_config_2.js	(revision 2449)
+++ /CKEditor/branches/prototype/_source/tests/core/_editor/custom_config_2.js	(revision 2450)
@@ -20,7 +20,6 @@
  */
 
-CKEDITOR.editorConfig = function( editor )
+CKEDITOR.editorConfig = function( config )
 {
-	var config = editor.config;
 	config.test_custom2 = 'Ok';
 };
Index: /CKEditor/branches/prototype/_source/tests/core/ckeditor.html
===================================================================
--- /CKEditor/branches/prototype/_source/tests/core/ckeditor.html	(revision 2449)
+++ /CKEditor/branches/prototype/_source/tests/core/ckeditor.html	(revision 2450)
@@ -119,5 +119,5 @@
 			textarea.appendTo( new CKEDITOR.dom.element( document.body ) );
 
-			var editor = new CKEDITOR.editor( textarea );
+			var editor = new CKEDITOR.editor( {}, textarea, CKEDITOR.ELEMENT_MODE_REPLACE );
 
 			CKEDITOR.add( editor );
Index: /CKEditor/branches/prototype/_source/tests/core/ckeditor2.html
===================================================================
--- /CKEditor/branches/prototype/_source/tests/core/ckeditor2.html	(revision 2449)
+++ /CKEditor/branches/prototype/_source/tests/core/ckeditor2.html	(revision 2450)
@@ -31,5 +31,14 @@
 		test_status2 : function()
 		{
-			assert.areSame( 'loaded', CKEDITOR.status );
+			var testCase = this;
+			CKEDITOR.on( 'loaded', function()
+				{
+					testCase.resume( function()
+						{
+							assert.areSame( 'loaded', CKEDITOR.status );
+						});
+				});
+			
+			this.wait();
 		},
 
