Refactor Exiv2 metadata extraction a bit, mock it in test.
Extend Travis config.