The only way to test it is to take the thermostat out let it sit in water until it boils and check if it opens.
Another possibility is a bad water pump.