Temperature control diagnostics for sample environments