Modularize interpolation testing