Basic test of Workflow constructor
Allow options to be optional, to avoid errors on strict PHP configurations
Refactor of addWorkflow, to allow dependency injection