html: move the no-body test to the tree construction tests