Cleanup metadata files

Change-Id: Ibf3d07f300141c4be65b2bff2f5529ededa87b80
diff --git a/t/meta.t b/t/meta.t
index e7d9f0e..a2ef1f9 100644
--- a/t/meta.t
+++ b/t/meta.t
@@ -310,7 +310,7 @@
 ok(!$meta->{text_column}, 'text column');
 ok(!$meta->{text_domain}, 'text domain');
 ok(!$meta->{creation_date}, 'creation date');
-ok(!$meta->{license}, 'License');
+ok(!$meta->{availability}, 'License');
 ok(!$meta->{pages}, 'Pages');
 ok(!$meta->{file_edition_statement}, 'file edition statement');
 ok(!$meta->{bibl_edition_statement}, 'bibl edition statement');
@@ -360,7 +360,7 @@
 ok(!$meta->{text_domain}, 'text domain');
 
 is($meta->{creation_date}, '20070707', 'creation date');
-is($meta->{license}, 'CC-BY-SA', 'License');
+is($meta->{availability}, 'CC-BY-SA', 'License');
 ok(!$meta->{pages}, 'Pages');
 ok(!$meta->{file_edition_statement}, 'file edition statement');
 ok(!$meta->{bibl_edition_statement}, 'bibl edition statement');
diff --git a/t/real/bzk.t b/t/real/bzk.t
index e6ef8d5..8999cc5 100644
--- a/t/real/bzk.t
+++ b/t/real/bzk.t
@@ -45,7 +45,7 @@
 
 is($meta->{pub_date}, '19590101', 'Creation date');
 is($meta->{creation_date}, '19590101', 'Creation date');
-is($meta->{license}, 'ACA-NC-LC', 'License');
+is($meta->{availability}, 'ACA-NC-LC', 'License');
 ok(!$meta->{pages}, 'Pages');
 
 ok(!$meta->{file_edition_statement}, 'File Statement');
@@ -110,7 +110,7 @@
 is($output->{textDomain}, 'Politik', 'Correct Text Domain');
 
 is($output->{creationDate}, '19590101', 'Creation date');
-is($output->{license}, 'ACA-NC-LC', 'License');
+is($output->{availability}, 'ACA-NC-LC', 'License');
 ok(!exists $output->{pages}, 'Pages');
 ok(!exists $output->{fileEditionStatement}, 'File Statement');
 ok(!exists $output->{biblEditionStatement}, 'Bibl Statement');
diff --git a/t/real/bzk_2.t b/t/real/bzk_2.t
index dba97cc..a44806b 100644
--- a/t/real/bzk_2.t
+++ b/t/real/bzk_2.t
@@ -46,7 +46,7 @@
 
 
 is($meta->{creation_date}, '19590219', 'Creation date');
-is($meta->{license}, 'ACA-NC-LC', 'License');
+is($meta->{availability}, 'ACA-NC-LC', 'License');
 ok(!$meta->{pages}, 'Pages');
 
 ok(!$meta->{file_edition_statement}, 'File Statement');
@@ -112,7 +112,7 @@
 is($output->{textClass}, 'politik ausland', 'Correct Text Domain');
 
 is($output->{creationDate}, '19590219', 'Creation date');
-is($output->{license}, 'ACA-NC-LC', 'License');
+is($output->{availability}, 'ACA-NC-LC', 'License');
 ok(!exists $output->{pages}, 'Pages');
 ok(!exists $output->{fileEditionStatement}, 'File Statement');
 ok(!exists $output->{biblEditionStatement}, 'Bibl Statement');
diff --git a/t/real/goethe.t b/t/real/goethe.t
index 204e217..9769af7 100644
--- a/t/real/goethe.t
+++ b/t/real/goethe.t
@@ -42,7 +42,7 @@
 ok(!$meta->{text_column}, 'Correct Text Column');
 ok(!$meta->{text_domain}, 'Correct Text Domain');
 is($meta->{creation_date}, '18200000', 'Creation Date');
-is($meta->{license}, 'QAO-NC', 'License');
+is($meta->{availability}, 'QAO-NC', 'License');
 is($meta->{pages}, '529-547', 'Pages');
 ok(!$meta->{file_edition_statement}, 'File Ed Statement');
 ok(!$meta->{bibl_edition_statement}, 'Bibl Ed Statement');
@@ -107,7 +107,7 @@
 ok(!exists $output->{textColumn}, 'Correct Text Type');
 ok(!exists $output->{textDomain}, 'Correct Text Type');
 is($output->{creationDate}, '18200000', 'Creation Date');
-is($output->{license}, 'QAO-NC', 'License');
+is($output->{availability}, 'QAO-NC', 'License');
 is($output->{pages}, '529-547', 'Pages');
 ok(!exists $output->{fileEditionStatement}, 'Correct Text Type');
 ok(!exists $output->{biblEditionStatement}, 'Correct Text Type');
diff --git a/t/real/wdd.t b/t/real/wdd.t
index 9d867f9..71d16d4 100644
--- a/t/real/wdd.t
+++ b/t/real/wdd.t
@@ -39,7 +39,7 @@
 ok(!$meta->{text_type_ref}, 'Correct Text Type Ref');
 ok(!$meta->{text_domain}, 'Correct Text Domain');
 is($meta->{creation_date}, '20070707', 'Creation date');
-is($meta->{license}, 'CC-BY-SA', 'License');
+is($meta->{availability}, 'CC-BY-SA', 'License');
 ok(!$meta->{pages}, 'Pages');
 ok(!$meta->{file_edition_statement}, 'File Statement');
 ok(!$meta->{bibl_edition_statement}, 'Bibl Statement');
@@ -100,7 +100,7 @@
 ok(!$output->{textTypeRef}, 'Correct Text Type Ref');
 ok(!$output->{textDomain}, 'Correct Text Domain');
 is($output->{creationDate}, '20070707', 'Creation date');
-is($output->{license}, 'CC-BY-SA', 'License');
+is($output->{availability}, 'CC-BY-SA', 'License');
 ok(!$output->{pages}, 'Pages');
 ok(!$output->{fileEditionStatement}, 'File Statement');
 ok(!$output->{biblEditionStatement}, 'Bibl Statement');