Add rate control simulation to resampler test.