@Test
	public void testGetObjectsByCanonicalPath() {
		try (Transaction tx = b.startTransaction()) {
			root = manager.createRootObject(ctx.getSchema(new SchemaName("Session"))).getChild();
			targetContainer = manager.createObject(KeyPath.of("Targets"));
		}

		assertNull(manager.getObjectByCanonicalPath(KeyPath.of("Nothing")));
		assertEquals(root, manager.getObjectByCanonicalPath(KeyPath.of()));
		assertEquals(targetContainer,
			manager.getObjectByCanonicalPath(KeyPath.of("Targets")));
	}
Fails because you cannot create a second root object.
Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/target/DBTraceObjectManagerTest.java