ndChild(test);
    flush();
    assert.equal(test.getRootNode(), c1.root, 'getOwnerRoot incorrect for child added to element in root');
    project.removeChild(test);
    flush();
    assert.equal(test.getRootNode(), test, 'getOwnerRoot incorrect for child moved from a root to no root');
    project.appendChild(test);
    flush();
    assert.equal(test.getRootNode(), c1.root, 'getOwnerRoot incorrect for child added to element in root');
  });

  test('getRootNode when out of tree and adding subtree', functi