CFY-1232 add tests for workflow state events