added controller tests for the admin controller