I'd recommend do use `@BeforeClass`/`@AfterClass`. So you only have to do it once and are sure the previous state is reset also in case of an exception.