On Bouc's and Thévenaz's conjectures on B-groups