Add synthetic test for memcache

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>