Fixed admin_controller test
Added index test in admin_controller