Was the heat cable bad or was the thermostat bad? You can test the heat cable by just plugging into the wall directly and see if it heats up. If it doesn't then its obviously shorted somewhere.

If your tstat is bad, then that's another issue.