Add MQTT integration test framework

direcly using the enum value is not good or what? :)