Add helper methods to test MemoryCache
Test fetchImage with nil key, and equals