unit test: image-min handling error