Created and tested the CachedImageLoader class.