List<Instruction> instructions = new LinkedList<Instruction>();
for (int i = 0; i < numberOfCommits; i++) {
instructions.clear();
instructions.add(new AddNodeInstructionImpl(path, baseNodeName + i));
Commit commit = new CommitImpl(path, "+" + baseNodeName + i + " : {}",
"Add node n" + i, instructions);
CommitCommandMongo command = new CommitCommandMongo(
mongoConnection, commit);
command.execute();
if (!PathUtils.denotesRoot(path)) {