Removed commented code which was stopping the caching of images while performing tests