Of course, after I added HeaderError to the rescue, the test started to fail :)

Fixed the test to instead count for lines which made it through.