graphic: add TestResizeImageCache()