Index: ParserListenerTester.java
===================================================================
--- ParserListenerTester.java	(revision 11227)
+++ ParserListenerTester.java	(working copy)
@@ -108,6 +108,15 @@
             expectedStream.close();
         }
 
-        assertEquals(expected.toString(), actual);
+        /*
+		 * HACK - sometimes line feeds come with \r\n, most of the times just \n
+		 * OBS: Just using readLine instead of read to get the contents of the
+		 * expected string is not enough since sometimes the last line feed of
+		 * the archive must be considered, and that empty row was being ignored
+		 * by readLine apparently
+		 */
+        actual = actual.replaceAll("\\r\\n","\n");
+        String expectedStr = expected.toString().replaceAll("\\r\\n","\n");
+        assertEquals(expectedStr, actual);
     }
 }
