add unit tests for moveTreeNodeAfter