Improved the admin-controller test coverage