Fix output for tests related to graphs
