Added tests for PiecewiseLinearInterpolation.