Add MQTT integration test framework

to me its weird multiply by 1.0 to make it double. (shall we use a cast etc?)