Additions and fixes for Workflow/Modules/test

Based my own tests of ILCDirac Workflow modules on theses tests.
Needed to add some more mock objects.
Use MagicMock to mock magic functions (__len__)
Fixed one exception caused by the list of workflow_commons dicts.
(Reduced output to see that)