fixed improper reset of heater and fastmeasure
added test file
added humidity and temperature event checking