Thermostat -> Fix some unit tests