Add back missing imports of CompFactory

Merged John Derek Chapman requested to merge jchapman/athena:FixATLASSIM-5147_master into master

The import of CompFactory was accidentally removed from two test scripts in MR !41181 (merged). This should fix ATLASSIM-5147.

Merge request reports