fix resampler tests.