a test for graph theory