Added unit-test for kv, memcache class