testOutdent() {
    const tree = makeATree();
    tree.expandAll();

    const node = tree.getChildren()[0].getChildren()[0];
    assertEquals('AAA', node.getHtml());
    assertNotNull(node.getElement());
    assertEquals('19px', node.getRowElement().style.paddingLeft);

    assertEquals(2, node.getDepth());

    const newParent = tree;
    assertEquals('A', newParent.getHtml());
    assertEquals(0, newParent.getDepth());

    newParent.add(node);

    assertEquals(newParent, node.getParent());
    assertEquals(node, newParent.getChildren()[2]);
    assertEquals(1, node.getDepth());
    assertEquals('0px', node.getRowElement().style.paddingLeft);
  }
Test moving a node to a lesser depth.