JUnit Before/After hooks workaround.