TST: add regression test for interpolate #5977