Remove files in /tmp after tests so that other users on the same machine (like buildbots) also can run make distcheck without getting "can't overwrite file" errors.
Add some regression tests for how the URIs associated with an image is handled during, save, import etc.