Test for piecewise_fold with Piecewise in a cond.
piecewise_fold with Piecewise in a cond.