Added the unit-test for the memcache class