Split the task internal property tests out

Split out the task internal property 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: I13294b5695046918a05ab39dd4760edef6f06500
diff --git a/src/main/resources/Documentation/test/task_states.md b/src/main/resources/Documentation/test/task_states.md
index 9beeb07..e3c26a4 100644
--- a/src/main/resources/Documentation/test/task_states.md
+++ b/src/main/resources/Documentation/test/task_states.md
@@ -774,8 +774,6 @@
 
 [root "Root Properties"]
   set-root-property = root-value
-  fail = True
-  fail-hint = Name(${_name}) Change Number(${_change_number}) Change Id(${_change_id}) Change Project(${_change_project}) Change Branch(${_change_branch}) Change Status(${_change_status}) Change Topic(${_change_topic})
   subtask = Subtask Properties
 
 [task "Subtask Properties"]
@@ -789,7 +787,7 @@
   set-second-property = ${first-property} second-extra ${third-property}
   set-third-property = third-value
   fail = True
-  fail-hint = Name(${_name}) root-property(${root-property}) first-property(${first-property}) second-property(${second-property})
+  fail-hint = root-property(${root-property}) first-property(${first-property}) second-property(${second-property})
 
 [task "Chained Subtask Properties"]
   pass = True
@@ -810,10 +808,9 @@
 
 {
    "applicable" : true,
-   "hasPass" : true,
-   "hint" : "Name(Root Properties) Change Number(_change3_number) Change Id(_change3_id) Change Project(_change3_project) Change Branch(_change3_branch) Change Status(_change3_status) Change Topic(_change3_topic)",
+   "hasPass" : false,
    "name" : "Root Properties",
-   "status" : "FAIL",
+   "status" : "WAITING",
    "subTasks" : [
       {
          "applicable" : true,
@@ -824,7 +821,7 @@
             {
                "applicable" : true,
                "hasPass" : true,
-               "hint" : "Name(Subtask Properties Hints) root-property(root-value) first-property(first-value) second-property(first-value second-extra third-value)",
+               "hint" : "root-property(root-value) first-property(first-value) second-property(first-value second-extra third-value)",
                "name" : "Subtask Properties Hints",
                "status" : "FAIL"
             },
@@ -893,6 +890,37 @@
    ]
 }
 
+[root "Root Internal Properties"]
+  export-root = Name(${_name}) Change Number(${_change_number}) Change Id(${_change_id}) Change Project(${_change_project}) Change Branch(${_change_branch}) Change Status(${_change_status}) Change Topic(${_change_topic})
+  set-root-internals = Name(${_name}) Change Number(${_change_number}) Change Id(${_change_id}) Change Project(${_change_project}) Change Branch(${_change_branch}) Change Status(${_change_status}) Change Topic(${_change_topic})
+  fail = True
+  fail-hint = Name(${_name}) Change Number(${_change_number}) Change Id(${_change_id}) Change Project(${_change_project}) Change Branch(${_change_branch}) Change Status(${_change_status}) Change Topic(${_change_topic})
+  subtask = Subtask Internal Properties
+
+[task "Subtask Internal Properties"]
+  fail = True
+  fail-hint = root-internals(${root-internals}) Name(${_name}) Change Number(${_change_number}) Change Id(${_change_id}) Change Project(${_change_project}) Change Branch(${_change_branch}) Change Status(${_change_status}) Change Topic(${_change_topic})
+
+{
+   "applicable" : true,
+   "exported" : {
+      "root" : "Name(Root Internal Properties) Change Number(_change3_number) Change Id(_change3_id) Change Project(_change3_project) Change Branch(_change3_branch) Change Status(_change3_status) Change Topic(_change3_topic)"
+   },
+   "hasPass" : true,
+   "hint" : "Name(Root Internal Properties) Change Number(_change3_number) Change Id(_change3_id) Change Project(_change3_project) Change Branch(_change3_branch) Change Status(_change3_status) Change Topic(_change3_topic)",
+   "name" : "Root Internal Properties",
+   "status" : "FAIL",
+   "subTasks" : [
+      {
+         "applicable" : true,
+         "hasPass" : true,
+         "hint" : "root-internals(Name(Root Internal Properties) Change Number(_change3_number) Change Id(_change3_id) Change Project(_change3_project) Change Branch(_change3_branch) Change Status(_change3_status) Change Topic(_change3_topic)) Name(Subtask Internal Properties) Change Number(_change3_number) Change Id(_change3_id) Change Project(_change3_project) Change Branch(_change3_branch) Change Status(_change3_status) Change Topic(_change3_topic)",
+         "name" : "Subtask Internal Properties",
+         "status" : "FAIL"
+      }
+   ]
+}
+
 [root "Root Properties Expansion"]
   applicable = status:open
   subtask = Subtask Property Expansion fail-hint