diff --git a/tests/ManiaLib/XML/Tests/DriverIterator.php b/tests/ManiaLib/XML/Tests/DriverIterator.php
index <HASH>..<HASH> 100644
--- a/tests/ManiaLib/XML/Tests/DriverIterator.php
+++ b/tests/ManiaLib/XML/Tests/DriverIterator.php
@@ -19,7 +19,7 @@ class DriverIterator implements \Iterator
 
     public function current()
     {
-        return $this->drivers[$this->currentIndex];
+        return new $this->drivers[$this->currentIndex]();
     }
 
     public function key()
diff --git a/tests/ManiaLib/XML/Tests/ExamplesTest.php b/tests/ManiaLib/XML/Tests/ExamplesTest.php
index <HASH>..<HASH> 100644
--- a/tests/ManiaLib/XML/Tests/ExamplesTest.php
+++ b/tests/ManiaLib/XML/Tests/ExamplesTest.php
@@ -30,7 +30,7 @@ class ExamplesTest extends PHPUnit_Framework_TestCase
         {
             foreach($driverIterator as $driver)
             {
-                $tests[$name.' & '.$driver] = array_merge(array(new $driver()), $example);
+                $tests[$name.' & '.get_class($driver)] = array_merge(array($driver), $example);
             }
         }
         return $tests;
Improved Driver Iterator to return new instance of class at each iteration