diff --git a/hls-explicit-imports-plugin.cabal b/hls-explicit-imports-plugin.cabal
--- a/hls-explicit-imports-plugin.cabal
+++ b/hls-explicit-imports-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.2
 name:               hls-explicit-imports-plugin
-version:            1.0.1.1
+version:            1.0.1.2
 synopsis:           Explicit imports plugin for Haskell Language Server
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -10,7 +10,10 @@
 maintainer:         pepeiborra@gmail.com
 category:           Development
 build-type:         Simple
-extra-source-files: LICENSE
+extra-source-files:
+  LICENSE
+  test/testdata/*.hs
+  test/testdata/*.yaml
 
 library
   exposed-modules:    Ide.Plugin.ExplicitImports
diff --git a/test/testdata/A.hs b/test/testdata/A.hs
new file mode 100644
--- /dev/null
+++ b/test/testdata/A.hs
@@ -0,0 +1,7 @@
+module A where
+
+a1 :: String
+a1 = "a1"
+
+a2 :: String
+a2 = "a2"
diff --git a/test/testdata/Exported.hs b/test/testdata/Exported.hs
new file mode 100644
--- /dev/null
+++ b/test/testdata/Exported.hs
@@ -0,0 +1,6 @@
+module Exported (module A) where
+
+import A
+
+main :: IO ()
+main = putStrLn $ "hello " ++ a1
diff --git a/test/testdata/UsualCase.hs b/test/testdata/UsualCase.hs
new file mode 100644
--- /dev/null
+++ b/test/testdata/UsualCase.hs
@@ -0,0 +1,6 @@
+module Main where
+
+import A
+
+main :: IO ()
+main = putStrLn $ "hello " ++ a1
diff --git a/test/testdata/hie.yaml b/test/testdata/hie.yaml
new file mode 100644
--- /dev/null
+++ b/test/testdata/hie.yaml
@@ -0,0 +1,6 @@
+cradle:
+  direct:
+    arguments:
+    - UsualCase.hs
+    - Exported.hs
+    - A.hs
