Added the unit-test for kv,memcache class