Test to modularize the sensor-reading storage and pubsub server