restore previous admin class in test