3.0 tree behavior

added children() and moveUp() methods.
test cases updated.