Test for corrupted files