Updated tests.

Change-Id: I4e43978c5cf8bbc678da5231ed938b707e11c442
diff --git a/lite/Changes b/lite/Changes
index 2a45173..36cf15e 100644
--- a/lite/Changes
+++ b/lite/Changes
@@ -7,6 +7,7 @@
  - [security] Updated log4j libs due to CVE -2021 -44228.
 2022-01-03
  - [security] More log4j security updates
+ - Updated tests.
 
 
 # version 0.64
diff --git a/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteSearchControllerTest.java b/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteSearchControllerTest.java
index 343b5eb..ebbdbfe 100644
--- a/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteSearchControllerTest.java
+++ b/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteSearchControllerTest.java
@@ -93,7 +93,7 @@
         String message = response.getEntity(String.class);
         assertEquals(
             "Wes8Bd4h1OypPqbWF5njeQ==",
-            response.getMetadata().getFirst("X-Index-Revision")
+            response.getHeaders().getFirst("X-Index-Revision")
             );
         assertEquals(message, config.getApiWelcomeMessage());
     }
diff --git a/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteStatisticControllerTest.java b/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteStatisticControllerTest.java
index 8619003..060d441 100644
--- a/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteStatisticControllerTest.java
+++ b/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteStatisticControllerTest.java
@@ -32,7 +32,7 @@
 
         assertEquals(
             "Wes8Bd4h1OypPqbWF5njeQ==",
-            response.getMetadata().getFirst("X-Index-Revision")
+            response.getHeaders().getFirst("X-Index-Revision")
             );
         
         String query = response.getEntity(String.class);