Fix test code for SyncDataHandler