CFY-1232 add retry configuration on workflow execution and start writing test
CFY-1232 add test for graph mode, finish retry test and fix bug in local task duplicate