diff --git a/pmd-kotlin/pom.xml b/pmd-kotlin/pom.xml
index 77db6c864e..3d3bd91fed 100644
--- a/pmd-kotlin/pom.xml
+++ b/pmd-kotlin/pom.xml
@@ -49,10 +49,20 @@
junit
test
+
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
net.sourceforge.pmd
pmd-test
test
+
+ net.sourceforge.pmd
+ pmd-lang-test
+ test
+
diff --git a/pmd-kotlin/src/test/java/net/sourceforge/pmd/cpd/KotlinTokenizerTest.java b/pmd-kotlin/src/test/java/net/sourceforge/pmd/cpd/KotlinTokenizerTest.java
index 6d45a5bc8b..28231a36d6 100644
--- a/pmd-kotlin/src/test/java/net/sourceforge/pmd/cpd/KotlinTokenizerTest.java
+++ b/pmd-kotlin/src/test/java/net/sourceforge/pmd/cpd/KotlinTokenizerTest.java
@@ -4,53 +4,41 @@
package net.sourceforge.pmd.cpd;
-import java.io.IOException;
-import java.util.Arrays;
-import java.util.Collection;
+import java.util.Properties;
-import org.apache.commons.io.IOUtils;
-import org.junit.Before;
import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import net.sourceforge.pmd.testframework.AbstractTokenizerTest;
+import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
-@RunWith(Parameterized.class)
-public class KotlinTokenizerTest extends AbstractTokenizerTest {
+public class KotlinTokenizerTest extends CpdTextComparisonTest {
- private final String filename;
- private final int nExpectedTokens;
-
- public KotlinTokenizerTest(String filename, int nExpectedTokens) {
- this.filename = filename;
- this.nExpectedTokens = nExpectedTokens;
- }
-
- @Parameterized.Parameters
- public static Collection