add single element appendTo test and fix
Merge remote-tracking branch 'origin/root-elements'