Added text-node? for testing whether a node is pure text node with no
subtree.
Added more test functions for text-node? move-node and edit-text.