add setAdmin to mock impl