Issue #2842063 by Sam152: Fix undefined index when creating a new content_moderation workflow type and expand test coverage for content_moderation WorkflowType plugin