Add sync behavior to the pod registry.  Expand tests.

Since the tests are failing anyway, can you run this test with the race detection that @monnand mentioned yesterday?