The fan only runs when the coolant is approx 100 deg Celcius or hotter.
To test the fan you can run leads directly to it and check it rotates, the terminal connected to the black and yellow wire is +ve.
To test the thermal switch you need to remove it and heat it, checking the contacts close with a meter.This does entail draining the coolant first though
.
Cheers, Mike