Work on workflow module testing.
Allow uuid values in to_dict.
Introduce workflow recover state functionality.