@Test
public void testAddPublicKeys() {

    
    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("sports.storage_1", "PublicKey1");
    addKeys.put("sports.storage_2", "PublicKey2");
    
    store.addPublicKeys(addKeys);
    assertEquals(store.publicKeyCache.size(), 4);
    assertTrue(store.publicKeyCache.containsKey("coretech.storage_0"));
    assertTrue(store.publicKeyCache.containsKey("sports.storage_0"));
    assertTrue(store.publicKeyCache.containsKey("sports.storage_1"));
    assertTrue(store.publicKeyCache.containsKey("sports.storage_2"));
}