Add test for imageEqualsFile