UTs for MemcachedStoreView

Tests the changes made in https://github.com/Metaswitch/cpp-common/pull/218.