You can do pressure testing like what they do for pipes.
They put a flange on both ends and pressure it with water and see what the pressure is for a while, not sure if it is an hour or hours.
I think you could have some type of air bag that you could put in both ends of the duct, inflate and see if it holds air pressure for a while and if not you could put smoke into the duct and then pressure it again and walk the duct to see where the leaks are.
This should be done before it is installed in new construction and be part of the job scope so it is done for all new construction.
Besides being in the new fire code, it should be in new construction code, ordinances, etc.... so that the word gets out so that it gets done hopefully.