fix memcached test bug