Add test for "base_url" determination on server root
diff --git a/tests/codeigniter/core/Config_test.php b/tests/codeigniter/core/Config_test.php
index 9c39df7..81401e3 100644
--- a/tests/codeigniter/core/Config_test.php
+++ b/tests/codeigniter/core/Config_test.php
@@ -74,7 +74,7 @@
 
 		// Setup server vars for detection
 		$host = 'test.com';
-		$path = '/path/';
+		$path = '/';
 		$script = 'base_test.php';
 		$_SERVER['HTTP_HOST'] = $host;
 		$_SERVER['SCRIPT_NAME'] = $path.$script;
@@ -83,7 +83,15 @@
 		$cls =& $this->ci_core_class('cfg');
 		$this->config = new $cls;
 
-		// Test plain detected
+		// Test plain detected (root)
+		$this->assertEquals('http://'.$host.$path, $this->config->base_url());
+
+		// Rerun constructor
+		$path = '/path/';
+		$_SERVER['SCRIPT_NAME'] = $path.$script;
+		$this->config = new $cls;
+
+		// Test plain detected (subfolder)
 		$this->assertEquals('http://'.$host.$path, $this->config->base_url());
 
 		// Rerun constructor