added sensor test - check if message is sent when sensor value is lesser than threshold