Fixing sync barrier tests.