added some testcode for temperature sensors and fixed a missing ')'