Add testcases to FastPiecewise