Fix delete memcached memver and added unit test