add test for subscribe to sensor, add test for publishing sensor temperature