Reworked unit tests to match rest of framework and added a few more.
diff --git a/tests/lib/ci_testcase.php b/tests/lib/ci_testcase.php
index 10539a3..8ca71fd 100644
--- a/tests/lib/ci_testcase.php
+++ b/tests/lib/ci_testcase.php
@@ -25,6 +25,8 @@
 		'model'		=> 'model'
 	);
 	
+	// --------------------------------------------------------------------
+	
 	public function __construct()
 	{
 		parent::__construct();
@@ -34,6 +36,26 @@
 	
 	// --------------------------------------------------------------------
 	
+	public function setUp()
+	{
+		if (method_exists($this, 'set_up'))
+		{
+			$this->set_up();
+		}
+	}
+	
+	// --------------------------------------------------------------------
+	
+	public function tearDown() 
+	{
+		if (method_exists($this, 'tear_down'))
+		{
+			$this->tear_down();
+		}
+	}
+	
+	// --------------------------------------------------------------------
+	
 	function ci_set_config($key, $val = '')
 	{
 		if (is_array($key))