Strip non-free ICC profile and fix test
Fixes #5749 (closed) It might be a good idea to mention somewhere that when adding a picture into the project, it is safer to remove potentially non-free profiles by doing:
convert myfile.jpg +profile "icc" myfile.jpg