TST: interpolate: refactor tests common for PPoly and BPoly
BUG: interpolate/bpoly: make BPoly.extend work
ENH: trailing dimensions in BPoly.from_derivatives