store = new DynamicDataStore(config);
store.put("key".getBytes(), "value".getBytes());
assertTrue(Arrays.equals("value".getBytes(), store.get("key".getBytes())));
store.close();
config.setDataHandler(new DefaultDataStoreHandler());
assertTrue(config.getDataHandler() != null);
config.save();
StoreConfig config2 = new StoreConfig(dir, 10000);
assertTrue(config2.getDataHandler() == null);