add test for lru_cache