Fixing failing tests for admin controller.