CFY-1377 start preparing local workflow tests
CFY-1377 bug fix + fix TestCommmand test