Tuga beat me to it cos I needed a pic. I was up to my elbows with this stuff ages ago and I wish I'd saved the emails

The lhs slate/green lead is the signal lead back to the ecu and enters the rhs O2 sensor as the black lead in the pic.
The lhs brown/yellow is the heater supply. It only gives a supply when the engine is running or ticking over and the red ign light is OFF. It enters the sensor as the bottom white lead in the pic.
The slightly hidden lhs black (under the slate/green) is the heater 'return', which is an earth, and enters the sensor as another white lead on the rhs of the pic.
As Tuga says check the two whites of the (disconnected) sensor with the
resistance side of your m/meter to see if the heater supply is intact. You should get a reading between ~3ohms and ~15ohms or so if the sensor isn't broken. It's a kind of 'continuity check'.
I'm struggling to remember but I seem to think I checked the supply voltage with the sensor disconnected from the multiplug. The engine should be ticking over with the red ign light OFF. I set the m/meter to read 20Vmax and probed the lhs m/plug part between the brown/yellow supply and a convenient earth - the braid at the bonnet hinge - looking for a voltage to supply the O2 sensor.
So, yes, the two whites are heater supply and return but it seems you looked for a voltage somehow - and I'd have done this in a different way (with the engine running between brown/yellow and earth of the lhs m/plug).
With utmost respect I reckon it'd be easier to do an EScan to see if your O2 sensor works okay. - I did all this stuff to find out why mine (actually the one you've borrowed) didn't. (It had de-pinned behind the wheel arch

)
My spare looked a bit sooty like yours (
not white tho') but I cleaned it with white spirit, carb-cleaner and an old tooth brush (in spite of recommendations not to). I tried it in my m100 later and it's fine

. I initially thought it was broken so it didn't seem to matter at the time...
