Test: Workflow serialization