Deflake memcache unit test.

@sougou 

It also runs 3x faster now in the happy path.