add unit test for lru cache