A test to see which graph structure is better