[adapted] TemporaryEmptyGraphTestCase to new methods in AbstractTestCase