session.save();
assertThat(node1a.getIndex(), is(2));
assertLocalNameAndNamespace(node1a, "node1", ""); // no SNS index in local name!
// Upload a file
JcrTools tools = new JcrTools();
tools.uploadFile(session, "/node1/simple.json", getResourceFile("data/simple.json"));
Node fileNode = node1.getNode("simple.json");
Node contentNode = fileNode.getNode("jcr:content");
assertLocalNameAndNamespace(fileNode, "simple.json", "");
assertLocalNameAndNamespace(contentNode, "content", "jcr");