def pipeline_upto_step_4(pipeline_upto_step_3):
    """
    PyTest Fixture: returns a pipeline that executes once per session up to step 4.
    """

    kaldi, ds, pd, m = pipeline_upto_step_3

    # Step 4
    # ======
    # Make a transcription interface and transcribe unseen audio to elan.
    t = kaldi.new_transcription('transcription_w')
    t.link(m)
    t.transcribe_algin('/recordings/untranscribed/audio.wav')

    return (kaldi, ds, pd, m, t)