Testing weak interactions in nonleptonic B decays