Adding a sub graph to the python api test program.