Added tests for node->update() method