fix sync tests