Update generate-composer.py

Minor mistake
Fix output issue.
fix performance in tests
Merge remote-tracking branch 'ss23/patch-1' into development