Probable fix for testImageCache