Added tests for ResourceWorkflowBehaviour changes