diff --git a/tests/HTMLTests.php b/tests/HTMLTests.php
index <HASH>..<HASH> 100644
--- a/tests/HTMLTests.php
+++ b/tests/HTMLTests.php
@@ -100,7 +100,10 @@ class HTMLTests extends \PHPUnit_Framework_TestCase
     public function testHeaderTable()
     {
         $document = $this->parseHTML('table2.rst');
-        echo "$document";
+ 
+        $this->assertEquals(2, substr_count($document, '<th>'));
+        $this->assertEquals(2, substr_count($document, '</th>'));
+        $this->assertNotContains('==', $document);
     }
 
     /**
Fixing tests for table header (see #<I>)