Improve LRUCache containsKey test, thanks @tschaub