Fixing the sort order (1)

Change-Id: I025883c5b7467cba46ad1082d2746eef5dd8befb
diff --git a/t/sort_tokens.t b/t/sort_tokens.t
index a6eed45..379f835 100644
--- a/t/sort_tokens.t
+++ b/t/sort_tokens.t
@@ -83,7 +83,6 @@
 
 # 2-4 to 3
 ok($mtt->add(term => '<:child-of',
-	     p_end => 4,
 	     pti => 34,
 	     payload => '<i>0<i>0' . # character os
 	       '<i>4<i>3<s>3<s>3<s>1'
@@ -110,6 +109,7 @@
 	     payload => '<i>0<i>0' . # character os
 	       '<i>4<i>4<s>4<s>3<s>1'), 'New rel');
 
+
 # 2-7 to 1-7
 ok($mtt->add(term => '>:child-of',
 	     pti => 35,
@@ -122,32 +122,44 @@
 	     payload => '<i>0<i>0<i>0<i>0' . # character os
 	       '<i>7<i>4<i>7<s>6<s>4<s>2'), 'New rel');
 
+
+is($mtt->to_string,
+   '[(0-5)'.
+   # 2 -> 2-4
+   '>:child-of$<b>33<i>0<i>0'                  . '<i>2<i>4<s>2<s>1<s>3|'.
+     # 2-7 -> 1-7
+   '>:child-of$<b>35<i>0<i>0<i>0<i>0' . '<i>7' . '<i>1<i>7<s>2<s>4<s>2|'.
+     # 2-7 -> 2-4
+   '<:child-of$<b>35<i>0<i>0<i>0<i>0' . '<i>7' . '<i>2<i>4<s>5<s>4<s>3|'.
+
+     # 2-7 -> 4-7
+   '<:child-of$<b>35<i>0<i>0<i>0<i>0' . '<i>7' . '<i>4<i>7<s>6<s>4<s>2|' .
+
+   # 2 -> 3
+  # '>:child-of$<b>32'                 . '<i>3<s>2<s>4<s>2|'.
+     # 2-4 -> 2-7
+   '>:child-of$<b>35<i>0<i>0<i>0<i>0' . '<i>4' . '<i>2<i>7<s>1<s>3<s>4|'.
+     # 2-4 -> 3
+   '<:child-of$<b>34<i>0<i>0' . '<i>4'         . '<i>3<s>3<s>3<s>1|' .
+     # 2-4 -> 4
+   '<:child-of$<b>34<i>0<i>0' . '<i>4'         . '<i>4<s>4<s>3<s>1' . #|'.
+     ']' ,
+   'Check sorted relations'
+ );
+
+done_testing;
+__END__
+
+
+
+
+
 # 2 to 3
 ok($mtt->add(term => '>:child-of',
 	     pti => 32,
 	     payload => '<i>3<s>2<s>4<s>2'
 	   ), 'New rel');
 
-is($mtt->to_string,
-   '[(0-5)'.
-   # 2 -> 2-4
-   '>:child-of$<b>33<i>0<i>0'         . '<i>2<i>4<s>2<s>1<s>3|'.
-   # 2 -> 3
-   '>:child-of$<b>32'                 . '<i>3<s>2<s>4<s>2|'.
-     # 2-4 -> 2-7
-   '>:child-of$<b>35<i>0<i>0<i>0<i>0' . '<i>4<i>2<i>7<s>1<s>3<s>4|'.
-     # 2-4 -> 3
-   '<:child-of$<b>34<i>4<i>0<i>0'     . '<i>4<i>3<s>3<s>3<s>1|' .
-     # 2-4 -> 4
-   '<:child-of$<b>34<i>0<i>0'         . '<i>4<i>4<s>4<s>3<s>1|'.
-# 2-7 -> 1-7
-   '>:child-of$<b>35<i>0<i>0<i>0<i>0' . '<i>7<i>1<i>7<s>2<s>4<s>2|'.
-# 2-7 -> 2-4
-   '<:child-of$<b>35<i>0<i>0<i>0<i>0' . '<i>7<i>2<i>4<s>5<s>4<s>3|'.
-# 2-7 -> 4-7
-   '<:child-of$<b>35<i>0<i>0<i>0<i>0' . '<i>7<i>4<i>7<s>6<s>4<s>2]' ,
-   'Check sorted relations'
- );
 
 done_testing;
 __END__