Add test for linear interpolation.