Fixing test target
Adding a flush when setting the frequency to limit buffer lags