Fix check if the item doesn't exist in the ttl cache
Add some unit tests for cache object
Merge pull request #10995 from jacksontj/develop

Fix check if the item doesn't exist in the ttl cache