Add tests for category node.