@Test
public void nodeJoins() throws Exception {
String rev1, rev2, rev3;
mk.getNodeStore().setAsyncDelay(0);
rev1 = mk.commit("/", "+\"foo\":{}", null, null);
<BUG>DocumentMK mk2 = new DocumentMK.Builder().setAsyncDelay(0)
.setMongoDB(MongoUtils.getConnection().getDB()).open();
try {</BUG>
mk2.commit("/", "+\"bar\":{}+\"bla\":{}", null, null);
rev2 = mk.commit("/", "+\"baz\":{}+\"qux\":{}", null, null);

@Test
public void nodeJoins() throws Exception {
String rev1, rev2, rev3;
mk.getNodeStore().setAsyncDelay(0);
rev1 = mk.commit("/", "+\"foo\":{}", null, null);
DocumentMK mk2 = new DocumentMK.Builder().
setAsyncDelay(0).
setMongoDB(MongoUtils.getConnection().getDB()).
open();
try {
mk2.commit("/", "+\"bar\":{}+\"bla\":{}", null, null);
rev2 = mk.commit("/", "+\"baz\":{}+\"qux\":{}", null, null);
