Add basic visitors to workflow/nodes.

Move tests outside Workflow namespace.