Fix sync tests