Extends the sync regression test to cover error conditions.