Fix a bug in consumes handling and dded consumes calls to Framework owned modules

Fixed a bug in the consumes handling where Run and Lumi consumes registrations were lost.
Added the proper consumes calls to all modules used by the Framework for tests.