add tests for interpolate