Added a routine to check against a CSV file for automated testing.

Fixed up a problem with processing of entries where the LSB is FE or FF. But, still there is a small issue with those entries.