Testing in contest and synthesis of the unknown component: two faces ofthe same coin