public void commitAddWithDiffPaths() {
// Commit with empty path and retrieve with root path
String rev = mk.commit("", "+\"/a\":{}", null, "");
String journalStr = mk.getJournal(rev, rev, "/");
JSONArray array = parseJSONArray(journalStr);
JSONObject entry = getObjectArrayEntry(array, 0);
String expected = "+\"/a\":{}";
assertPropertyValue(entry, "changes", expected);
// Commit with root path and retrieve with root path
rev = mk.commit("/", "+\"b\":{}", null, "");