Corrosion characterization in components for thermal energy storage applications