fix test case with corrupted image and Exiv2 > 0.26

Authored by mqualmann on Mar 23 2019, 7:22 PM.