Tests: Add graph teardown case