Added a test for generic interpolation