test for raising exception when garbage in bagit.txt