Testing sync engines can be especially challenging. This story from Dropbox gives ideas on how to do it well.