Test setup for #collapse_left, #fold_left, and #merge_left, as well as code for #collapse_left.