exif handler rewritten for future tests