refactoring and test run without errors
diff --git a/src/test/java/FoundryRewriteTest.java b/src/test/java/FoundryRewriteTest.java
index c9e63f2..5a91a09 100644
--- a/src/test/java/FoundryRewriteTest.java
+++ b/src/test/java/FoundryRewriteTest.java
@@ -49,7 +49,7 @@
 
         assert m.findFoundry("lemma").equals(config.getDefault_lemma());
         assert m.findFoundry("pos").equals(config.getDefault_pos());
-        assert m.findFoundry("surface").equals(config.getDefault_surface());
+        assert m.findFoundry("surface").equals(config.getDefault_token());
         assert m.findFoundry("d").equals(config.getDefault_dep());
         assert m.findFoundry("c").equals(config.getDefault_const());
     }