Add some workflow validation tests.
Better name for illegal operation.
Validate workflow DAG #44