Add a test for tag node.