update temperature testing

added comments, removed function input variable