Added simple test with memcache class for #493