Added tests case for Memcached and Redis