switched NSImage to PYImage for iOs tests