fixed upgrade_node_operation.py
fixed unittests