@Test
public void testJcrSession() throws Exception {

    OakMachine machine = builder().build();
    machine.initAndInspect(session -> {
        assertTrue("Root node should be same as / node",
                session.getRootNode().isSame(session.getNode("/")));
    });
}