Fix installation bugs

Change-Id: I15fc3f027f548acea6026f16c83568fffcae71ba
diff --git a/t/primary.t b/t/primary.t
index 831124e..eb6d20e 100644
--- a/t/primary.t
+++ b/t/primary.t
@@ -6,11 +6,11 @@
 use utf8;
 use lib 'lib', '../lib';
 
-use_ok('KorAP::Document::Primary');
+use_ok('KorAP::XML::Document::Primary');
 
 my $t = "Der März ging vorüber und demnächst würde es Herbstblätter regnen.";
 
-ok(my $p = KorAP::Document::Primary->new($t), 'Constructor');
+ok(my $p = KorAP::XML::Document::Primary->new($t), 'Constructor');
 
 is($p->data_length, 66, 'Text has correct length');
 
@@ -39,7 +39,7 @@
 
 $t = 'Er dächte, daß dies „für alle Elemente gilt“.';
 
-ok($p = KorAP::Document::Primary->new($t), 'Constructor');
+ok($p = KorAP::XML::Document::Primary->new($t), 'Constructor');
 
 is($p->data_length, 45, 'Text has correct length');
 
diff --git a/t/real/wdd.t b/t/real/wdd.t
index 30059cd..88e36de 100644
--- a/t/real/wdd.t
+++ b/t/real/wdd.t
@@ -128,7 +128,7 @@
 is($output->{data}->{foundries}, 'base base/paragraphs base/sentences', 'Foundries');
 is($output->{data}->{layerInfos}, 'base/s=spans', 'layerInfos');
 my $first_token = join('||', @{$output->{data}->{stream}->[0]});
-like($first_token, qr/s:{War/, 'data');
+like($first_token, qr/s:\{War/, 'data');
 like($first_token, qr/_0\$<i>1<i>5/, 'data');