script test_simple_graph uses Python class ConstraintGraph