added test thermal diode