worked on WorkflowRepository tests