Add training loop test to ensure that it successfully resumes upon restarting.
Add training loop test to ensure that it successfully resumes upon restarting.

PiperOrigin-RevId: 358289252
Change-Id: Ia2fc4040a2502ea602c277ed1af8afbebf21ec6c

google-research/federated,google-research/federated