unit tests of interpolation