Added a test for node.to_python()