fixes admin controller test