KVCache.toXML() has been implemented; KVCacheTest.java added