Temporary test code for new arbitrary resampler