fixed memcached and redis test error