The name of this factory is misleading because the resulting programme will actually have 7 parts, not 2.  This is because a programme creates initial parts by default (see https://github.com/alphagov/govuk_content_models/blob/master/app/models/programme_edition.rb#L19-L24).