diff --git a/tests/Export/_files2/Cms_Cateogry.php b/models/export/Cms_Cateogry.php
similarity index 100%
rename from tests/Export/_files2/Cms_Cateogry.php
rename to models/export/Cms_Cateogry.php
diff --git a/tests/Export/_files2/Cms_CateogryLanguages.php b/models/export/Cms_CateogryLanguages.php
similarity index 100%
rename from tests/Export/_files2/Cms_CateogryLanguages.php
rename to models/export/Cms_CateogryLanguages.php
diff --git a/tests/Export/RecordTestCase.php b/tests/Export/RecordTestCase.php
index a78fc7ba00687a197f73c366a7f95f52fd64147a..ee5d0abc67425c162cd6cc5944c7c5205961a7c4 100644
--- a/tests/Export/RecordTestCase.php
+++ b/tests/Export/RecordTestCase.php
@@ -88,7 +88,7 @@ class Doctrine_Export_Record_TestCase extends Doctrine_UnitTestCase
 
     public function testExportModelFromDirectory()
     {
-        Doctrine::exportSchema(dirname(__FILE__) . DIRECTORY_SEPARATOR . '_files2');
+        Doctrine::exportSchema(dirname(__FILE__) . DIRECTORY_SEPARATOR .'..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'models' . DIRECTORY_SEPARATOR . 'export');
 
         $this->assertEqual($this->adapter->pop(), 'COMMIT');
         $this->assertEqual($this->adapter->pop(), 'ALTER TABLE cms__category_languages ADD CONSTRAINT FOREIGN KEY (category_id) REFERENCES cms__category(id) ON DELETE CASCADE');