EZP-22781: Added test for Image\IO\Legacy