Fixes sync events callback test issues