Added temperature sensor and test.