added support for admin tests.