Add test for multi steps wrapper, verifying that the aggregated gradient is the mean of the input gradients.
Add test for multi steps wrapper, verifying that the aggregated gradient is the mean of the input gradients.

PiperOrigin-RevId: 413645473

deepmind/optax,deepmind/optax