Correct the new unit tests of the MQTT server and make them pass