Use an external MQTT

Simply point your test configuration to the mqtt broker on your production server. I have both a production server and a test server, both point to the same mqtt broker.