admin controller test case fixed