fix bugs; add MockXmemcachedCacheImpl for cas operation