   it "should run complex history", ->
     generator.seed -> [
       events: [@WorkflowExecutionStarted
-                 "FreshdeskDownloadUsers":
-                   avatarId: "D6vpAkoHyBXPadp4c"
-                   params: {}
-                 "3DCartDownloadOrders":
-                   avatarId: "T7JwArn9vCJLiKXbn"
-                   baseUrl: "http://store.bellefit.com"
-                   params: {}
-                 "BellefitGenerate3DCartOrdersByFreshdeskUserIdCollection":
-                   avatarIds:
-                     "Freshdesk": "D6vpAkoHyBXPadp4c"
-                     "3DCart": "T7JwArn9vCJLiKXbn"
+         FreshdeskDownloadUsers:
+           avatarId: "D6vpAkoHyBXPadp4c"
+           params: {}
+         _3DCartDownloadOrders:
+           avatarId: "T7JwArn9vCJLiKXbn"
+           baseUrl: "http://store.bellefit.com"
+           params: {}
+         BellefitGenerate3DCartOrdersByFreshdeskUserIdCollection:
+           avatarIds:
+             Freshdesk: "D6vpAkoHyBXPadp4c"
+             _3DCart: "T7JwArn9vCJLiKXbn"
       ]
       decisions: [
         @ScheduleActivityTask "FreshdeskDownloadUsers",
           avatarId: "D6vpAkoHyBXPadp4c"
           params: {}
       ,
-        @ScheduleActivityTask "3DCartDownloadOrders",
+        @ScheduleActivityTask "_3DCartDownloadOrders",
           avatarId: "T7JwArn9vCJLiKXbn"
           params: {}
       ]

        events: [
          @ActivityTaskCompleted "FreshdeskDownloadUsers"
        ,
          @ActivityTaskCompleted "3DCartDownloadOrders"
        ]
        decisions: [
          @ScheduleActivityTask "BellefitGenerate3DCartOrdersByFreshdeskUserIdCollection",
            avatarIds:
              "Freshdesk": "D6vpAkoHyBXPadp4c"
              "3DCart": "T7JwArn9vCJLiKXbn"
        ]
        branches: [
          events: [

          events: [@ActivityTaskCompleted "FreshdeskDownloadUsers"]
          decisions: []
        ,
          events: [@ActivityTaskCompleted "_3DCartDownloadOrders"]
          decisions: []
        ,
          events: [@ActivityTaskFailed "FreshdeskDownloadUsers"]
          decisions: [@FailWorkflowExecution()]
        ,
          events: [@ActivityTaskFailed "_3DCartDownloadOrders"]
          decisions: [@FailWorkflowExecution()]
        ]
      ]
