Added missing graph.shutdown() to newly added test case