test graph class added