Fixed broken test, method annotated with AfterClass should be static.