BS-7474 : Modify log in Engine

- Add unit tests
- Add new work FailureHandlingConnectorDefinitionContextWork