Changed the messsage storage to a list instead of a set, as messages were colliding in the set.
temperature measuring testcase