Challenges and solutions for thermal-aware SoC testing