Added a test for an object in the cache