Make tb_synchronize work in unit tests, when UIApplication.sharedApplication
is nil.
Add synchronizeAll.
If synchronize fails then mark the plist as dirty again, so that
we'll retry later (presumably when the screen unlocks).