Several test cases writing temporary files have been corrected.
Method IGESCAFControl_Writer::WriteNames now iterates over all nested assemblies and collects names for shapes. Regression fix Test-case for issue #21802