updated memory cacheprovider
add unit test for memory cache provider