Add memcached testing functionality