Doctests for workflows