Testing a MQTT node in a Node-RED flow using Mocha and node-red-node-test-helper node

Here is a Node-red-node-test-helper Example may be useful to anyone visits this thread.