Fixed MDParser data and test suite

Change-Id: I7edabe9d80a310e0822013aa89d8dbf1f6cfc38a
diff --git a/t/annotation/malt_dependency.t b/t/annotation/malt_dependency.t
index e0bb7be..444df9a 100644
--- a/t/annotation/malt_dependency.t
+++ b/t/annotation/malt_dependency.t
@@ -51,13 +51,3 @@
 
 done_testing;
 __END__
-
-diag $data;
-
-
-
-
-is($data->{stream}->[0]->[2], '<>:xip/s:s$<b>64<i>0<i>129<i>17<b>0', 'Text');
-is($data->{stream}->[0]->[3], '_0$<i>0<i>3', 'Position');
-is($data->{stream}->[-1]->[0], '_17$<i>124<i>128', 'Position');
-
diff --git a/t/annotation/mdp_dependency.t b/t/annotation/mdp_dependency.t
index 919552c..5b6858c 100644
--- a/t/annotation/mdp_dependency.t
+++ b/t/annotation/mdp_dependency.t
@@ -63,7 +63,19 @@
 
 my $stream = $data->{stream};
 
-# diag Dumper $stream->[0];
+is($stream->[0]->[0], '-:tokens$<i>3555', 'Token count');
+
+# Term-to-term
+is($stream->[0]->[1], '<:mdp/d:NMOD$<b>32<i>5', 'Term-to-Term');
+is($stream->[5]->[0], '>:mdp/d:NMOD$<b>32<i>0', 'Term-to-Term');
+
+# Element-to-term
+is($stream->[0]->[8], '<:mdp/d:ROOT$<b>34<i>0<i>317<i>40<i>0', 'Element-to-Term');
+is($stream->[0]->[10], '>:mdp/d:ROOT$<b>33<i>0<i>317<i>0<i>40', 'Term-to-Element');
+
+
+is($stream->[-1]->[0], '>:mdp/d:ROOT$<b>33<i>26130<i>26153<i>3553<i>3554', 'Term-to-Element');
+is($stream->[3553]->[1], '<:mdp/d:ROOT$<b>34<i>26130<i>26153<i>3554<i>3553', 'Element-to-Term');
 
 done_testing;
 __END__
diff --git a/t/corpus/archives/wpd15-single.corenlp.zip b/t/corpus/archives/wpd15-single.corenlp.zip
index f4cfd4e..8d0dd5d 100644
--- a/t/corpus/archives/wpd15-single.corenlp.zip
+++ b/t/corpus/archives/wpd15-single.corenlp.zip
Binary files differ
diff --git a/t/corpus/archives/wpd15-single.malt.zip b/t/corpus/archives/wpd15-single.malt.zip
index 43a5add..20d0e27 100644
--- a/t/corpus/archives/wpd15-single.malt.zip
+++ b/t/corpus/archives/wpd15-single.malt.zip
Binary files differ
diff --git a/t/corpus/archives/wpd15-single.mdparser.zip b/t/corpus/archives/wpd15-single.mdparser.zip
index 8897f7f..36b5656 100644
--- a/t/corpus/archives/wpd15-single.mdparser.zip
+++ b/t/corpus/archives/wpd15-single.mdparser.zip
Binary files differ
diff --git a/t/corpus/archives/wpd15-single.opennlp.zip b/t/corpus/archives/wpd15-single.opennlp.zip
index c10b384..50cf0ca 100644
--- a/t/corpus/archives/wpd15-single.opennlp.zip
+++ b/t/corpus/archives/wpd15-single.opennlp.zip
Binary files differ
diff --git a/t/corpus/archives/wpd15-single.tree_tagger.zip b/t/corpus/archives/wpd15-single.tree_tagger.zip
index 372e15e..06beec9 100644
--- a/t/corpus/archives/wpd15-single.tree_tagger.zip
+++ b/t/corpus/archives/wpd15-single.tree_tagger.zip
Binary files differ
diff --git a/t/corpus/archives/wpd15-single.zip b/t/corpus/archives/wpd15-single.zip
index 89d0426..38b3f21 100644
--- a/t/corpus/archives/wpd15-single.zip
+++ b/t/corpus/archives/wpd15-single.zip
Binary files differ