CFY-647 moved Workflows to be under Deployment in the model; Added tests