update energy_test.go to refer to tempCrit