You can test the O2 sensor heater with a multimeter and test the resistance to see if it's working properly. A good sensor should read 10 - 25 ohms, but this can vary and you should check with your car's manual to find the exact specs.