Put the thermostat in the glass of ice water with crashed iced for 10min, then check if there is continuity between its contacts. If it's open that means it's bad.
Find Appliance Parts at AppliancePartsPros.com - Largest inventory in the U.S. with 91% of all in-stock orders delivered within 2 business days. Thousands of photos and diagrams make it very easy to find the right part. Enter your appliance model here.