Converted WorkflowTest to junit