improved sync testing