Fix admin unittest.