Remove useless logs and try/catch
Add unit tests
Add test scenario.
Fix workflow generation.