Sometimes it might be useful to supply a custom logic to initialize the test environment before the test is executed (even before the test class is loaded,
e.g. to specify a class loader used to load the test class) and to shut down the test environment properly.