graph given as a test set