increased test coverage on workflow module