memcache templete unit test