Improvements of sync tests