Add MQTT integration test framework

can we eliminate this variable by directly using the Enum value? would that make sense?