Welding of liquid bags to a reagent cassette