diff --git a/tests/PhpCodeExtractorTest.php b/tests/PhpCodeExtractorTest.php
index <HASH>..<HASH> 100644
--- a/tests/PhpCodeExtractorTest.php
+++ b/tests/PhpCodeExtractorTest.php
@@ -17,6 +17,8 @@ class PhpCodeExtractorTest extends PHPUnit_Framework_TestCase
         $this->assertInstanceOf('Gettext\\Translation', $translations->find(null, 'text 7 (with parenthesis)'));
         $this->assertInstanceOf('Gettext\\Translation', $translations->find(null, 'text 8 "with escaped double quotes"'));
         $this->assertInstanceOf('Gettext\\Translation', $translations->find(null, 'text 9 \'with single quotes\''));
+
+        $this->assertCount(12, $translations);
     }
 
     public function testMultiline()
diff --git a/tests/files/phpcode.php b/tests/files/phpcode.php
index <HASH>..<HASH> 100644
--- a/tests/files/phpcode.php
+++ b/tests/files/phpcode.php
@@ -45,3 +45,5 @@
         </div>
     </div>
 </div>");
+?>
+<p><?php __(''); ?></p>
\ No newline at end of file
added a simple test for #<I>