Add some tests for handling of failures. The test data here is taking from gdk-pixbufs tests/test-images/fail directory, excluding anything but png, tiff and jpg images.