             let expectation = expectationWithDescription("Post execution is clean")
 
             let group = try Bartleby.scheduler.getTaskGroupWithName(Bartleby.createUID(), inDataSpace: document.spaceUID)
+            group.priority=priority
+
             // This is the unique root task
             // So concurrency will be limited as we append sub tasks via appendSequentialTask
             try group.addConcurrentTask(firstTask)
             group.handlers.appendCompletionHandler({ (completion) in
-               let taskCount=group.totalTaskCount()
-                XCTAssert(taskCount==0,"All the task have been executed and the totalTaskCount == 0 ")
-                
+                let taskCount=group.totalTaskCount()
+                XCTAssert(taskCount==0, "All the task have been executed and the totalTaskCount == 0 ")
                 XCTAssert(ShowSummary.executionCounter==numberOfSequTask+1, "Execution counter should be consistent")
-                
                 expectation.fulfill()
             })
 
-            print("Adding Child tasks")
+            // Adding Child tasks
             for i in 1...numberOfSequTask {
                 let o=JObject()
                 o.summary="Object \(i)"

        ShowSummary.executionCounter=0
    }

    func test_001_PlayGroundTransposition() {

        let rootObject=JObject()
        rootObject.summary="ROOT OBJECT"
        let firstTask=ShowSummary(arguments: rootObject)

                bprint("Error: \(error.localizedDescription)")
            }
        }
    }


