Fix argument mismatch for generic implementation

Probably the result of a copy-paste error, the generic implementation
of interp_coef_generic had two methods with the same signature, even
though one of them should have been different. This commit fixes that,
and adds a very basic test case for this.

Fixes #22