testing partial graph