Add two tests: extra bytes at end-of-file ok without
consistency check, error with.

--HG--
branch : HEAD
5 files changed