add unit test showing rooted tree stays rooted #28