Pytests: added test for recovering corrupted data