diff --git a/hls-code-range-plugin.cabal b/hls-code-range-plugin.cabal
--- a/hls-code-range-plugin.cabal
+++ b/hls-code-range-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.4
 name:               hls-code-range-plugin
-version:            1.1.0.0
+version:            2.0.0.0
 synopsis:
   HLS Plugin to support smart selection range and Folding range
 
@@ -16,9 +16,7 @@
 build-type:         Simple
 extra-source-files:
   LICENSE
-  test/testdata/selection-range/*.hs
-  test/testdata/selection-range/*.yaml
-  test/testdata/selection-range/*.txt
+  test/testdata/**/*.hs
 
 source-repository head
     type:     git
@@ -39,9 +37,9 @@
     , containers
     , deepseq
     , extra
-    , ghcide           ^>=1.9
+    , ghcide           == 2.0.0.0
     , hashable
-    , hls-plugin-api   ^>=1.6
+    , hls-plugin-api   == 2.0.0.0
     , lens
     , lsp
     , mtl
@@ -64,9 +62,9 @@
     , bytestring
     , containers
     , filepath
-    , ghcide                     ^>=1.8 || ^>= 1.9
+    , ghcide                     == 2.0.0.0
     , hls-code-range-plugin
-    , hls-test-utils             ^>=1.5
+    , hls-test-utils             == 2.0.0.0
     , lens
     , lsp
     , lsp-test
diff --git a/test/testdata/folding-range/Empty.hs b/test/testdata/folding-range/Empty.hs
new file mode 100644
--- /dev/null
+++ b/test/testdata/folding-range/Empty.hs
@@ -0,0 +1,1 @@
+module Empty where
diff --git a/test/testdata/folding-range/Function.hs b/test/testdata/folding-range/Function.hs
new file mode 100644
--- /dev/null
+++ b/test/testdata/folding-range/Function.hs
@@ -0,0 +1,13 @@
+{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-}
+{-# HLINT ignore "Use module export list" #-}
+module Function(isEven) where
+
+isEven :: Integer -> Bool
+isEven n = if n `mod` 2 == 0
+           then True
+           else False
+
+isOdd :: Integer -> Bool
+isOdd n = if n `mod` 2 == 0
+           then False
+           else True
diff --git a/test/testdata/selection-range/Empty.golden.txt b/test/testdata/selection-range/Empty.golden.txt
deleted file mode 100644
--- a/test/testdata/selection-range/Empty.golden.txt
+++ /dev/null
diff --git a/test/testdata/selection-range/Function.golden.txt b/test/testdata/selection-range/Function.golden.txt
deleted file mode 100644
--- a/test/testdata/selection-range/Function.golden.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-(5,16) (5,20) => (5,16) (5,40) => (5,14) (11,20) => (5,1) (11,20) => (4,1) (11,20) => (3,1) (11,20) => (3,1) (14,15)
-(5,12) (5,13) => (5,1) (11,20) => (4,1) (11,20) => (3,1) (11,20) => (3,1) (14,15)
-(4,1) (4,9) => (4,1) (4,29) => (4,1) (11,20) => (3,1) (11,20) => (3,1) (14,15)
-(3,1) (3,9) => (3,1) (3,61) => (3,1) (11,20) => (3,1) (14,15)
diff --git a/test/testdata/selection-range/Import.golden.txt b/test/testdata/selection-range/Import.golden.txt
deleted file mode 100644
--- a/test/testdata/selection-range/Import.golden.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-(4,33) (4,38) => (4,32) (4,47) => (4,1) (4,47) => (3,1) (4,47)
-(1,8) (1,8)
diff --git a/test/testdata/selection-range/hie.yaml b/test/testdata/selection-range/hie.yaml
deleted file mode 100644
--- a/test/testdata/selection-range/hie.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
-cradle:
-  direct:
-    arguments:
-      - "Import"
-      - "Function"
-      - "Empty"
