added server stat detect for memcache tests