update unit tests for admin