fixed sync_test