Adding Memcached for client
fixing unit tests and revalidation behaviour