Updated the CMemCache test case such that we can also test with memcached