@Test
public void testAddPublicKeysUpdateValue() {

    
    ChangeLogStore clogStore = new MockZMSFileChangeLogStore("/tmp/zts_server_unit_tests/zts_root",
            pkey, "0");
    DataStore store = new DataStore(clogStore, null);
    store.publicKeyCache.put("coretech.storage_0", "PublicKey0");
    store.publicKeyCache.put("sports.storage_0", "PublicKey0");
    store.publicKeyCache.put("sports.storage_1", "PublicKey1");
    Map<String, String> addKeys = new HashMap<>();
    addKeys.put("coretech.storage_0", "PublicKey0");
    addKeys.put("sports.storage_0", "PublicKey100");
    addKeys.put("sports.storage_1", "PublicKey101");
    
    store.addPublicKeys(addKeys);
    assertEquals(store.publicKeyCache.size(), 3);
    String value = store.publicKeyCache.get("coretech.storage_0");
    assertEquals(value, "PublicKey0");
    
    value = store.publicKeyCache.get("sports.storage_0");
    assertEquals(value, "PublicKey100");
    
    value = store.publicKeyCache.get("sports.storage_1");
    assertEquals(value, "PublicKey101");
}