Split the subtask via property invocation tests out

Split out the subtask via property invocation tests into their own test
case with its own root to make it easier to maintain and to debug when
something goes wrong.

Change-Id: I1aceeef4ae0488eed4549d69ce9b95371d63a0b8
diff --git a/src/main/resources/Documentation/test/task_states.md b/src/main/resources/Documentation/test/task_states.md
index e3c26a4..7ab6c3e 100644
--- a/src/main/resources/Documentation/test/task_states.md
+++ b/src/main/resources/Documentation/test/task_states.md
@@ -778,7 +778,6 @@
 
 [task "Subtask Properties"]
   subtask = Subtask Properties Hints
-  subtask = Chained ${_name}
   subtask = Subtask Properties Reset
   subtasks-factory = TaskFactory Properties Hints
 
@@ -789,9 +788,6 @@
   fail = True
   fail-hint = root-property(${root-property}) first-property(${first-property}) second-property(${second-property})
 
-[task "Chained Subtask Properties"]
-  pass = True
-
 [task "Subtask Properties Reset"]
   pass = True
   set-first-property = reset-first-value
@@ -828,12 +824,6 @@
             {
                "applicable" : true,
                "hasPass" : true,
-               "name" : "Chained Subtask Properties",
-               "status" : "PASS"
-            },
-            {
-               "applicable" : true,
-               "hasPass" : true,
                "name" : "Subtask Properties Reset",
                "status" : "PASS"
             },
@@ -921,6 +911,39 @@
    ]
 }
 
+[root "Root Subtask Via Property"]
+  set-subtask = Subtask
+  subtask = ${subtask} Via Property
+
+[task "Subtask Via Property"]
+  subtask = Second ${_name}
+
+[task "Second Subtask Via Property"]
+  fail = True
+
+{
+   "applicable" : true,
+   "hasPass" : false,
+   "name" : "Root Subtask Via Property",
+   "status" : "WAITING",
+   "subTasks" : [
+      {
+         "applicable" : true,
+         "hasPass" : false,
+         "name" : "Subtask Via Property",
+         "status" : "WAITING",
+         "subTasks" : [
+            {
+               "applicable" : true,
+               "hasPass" : true,
+               "name" : "Second Subtask Via Property",
+               "status" : "FAIL"
+            }
+         ]
+      }
+   ]
+}
+
 [root "Root Properties Expansion"]
   applicable = status:open
   subtask = Subtask Property Expansion fail-hint