Fetch image from memory cache with key

Shouldn't this be XCTAssert?