Writing unit test for interpolation