add memory cache test
bug fixed