added tests for the WorkflowView class