Migration patterns

How to migrate existing tests from time.Sleep and mock clocks to testing/synctest—and when not to.