Fix resampler tests.