Added test for ClassMethodNode::setName()