Add probabilistic errors and tests that sync succeeds.