Unit test for DiskMemImage writing to tile that have been restored from
disk cache.
Added WaitingImageFrame to allow test methods to show images and wait
for frame to be dismissed.