Add tests for admin_view