diff --git a/tests/lib/config.php b/tests/lib/configtests.php
similarity index 97%
rename from tests/lib/config.php
rename to tests/lib/configtests.php
index 91154579ab59f7bf15dd475b3a934219d27eda49..0269ae542f403a00934d33661e5ec53f3ce428af 100644
--- a/tests/lib/config.php
+++ b/tests/lib/configtests.php
@@ -6,7 +6,9 @@
  * See the COPYING-README file.
  */
 
-class Test_Config extends \Test\TestCase {
+namespace Test;
+
+class ConfigTests extends TestCase {
 	const TESTCONTENT = '<?php $CONFIG=array("foo"=>"bar", "beers" => array("Appenzeller", "Guinness", "Kölsch"), "alcohol_free" => false);';
 
 	/** @var array */
@@ -24,7 +26,7 @@ class Test_Config extends \Test\TestCase {
 		$this->randomTmpDir = \OC_Helper::tmpFolder();
 		$this->configFile = $this->randomTmpDir.'testconfig.php';
 		file_put_contents($this->configFile, self::TESTCONTENT);
-		$this->config = new OC\Config($this->randomTmpDir, 'testconfig.php');
+		$this->config = new \OC\Config($this->randomTmpDir, 'testconfig.php');
 	}
 
 	protected function tearDown() {