diff --git a/eccrypto.cabal b/eccrypto.cabal
--- a/eccrypto.cabal
+++ b/eccrypto.cabal
@@ -1,5 +1,5 @@
 Name:                eccrypto
-Version:             0.2.2
+Version:             0.2.3
 Synopsis:            Elliptic Curve Cryptography for Haskell
 Description:         Elliptic Curve Cryptography in Haskell, evolved for correctness and practical usability from higher-level libraries.
                      .
@@ -29,11 +29,12 @@
 
 Library
   hs-source-dirs: src
+  default-language: Haskell2010
   Build-Depends:
                 base >= 4 && < 5
               , bytestring >= 0.10 && < 0.11
               , cryptohash-sha512 >= 0.11 && < 0.12
-              , integer-gmp >= 1.0 && < 1.1
+              , integer-gmp >= 1.0 && < 1.2
   if os(windows)
      build-depends: crypto-api >=0.13 && < 0.14
   Exposed-modules:
@@ -55,10 +56,11 @@
 Test-Suite eccrypto-testsuite
   Type: detailed-0.9
   hs-source-dirs: test
+  default-language: Haskell2010
   test-Module: Tests
   Build-depends:
                 base >= 4 && < 5
-              , base16-bytestring
+              , base16-bytestring >= 1.0 && < 1.1
               , bytestring >= 0.10 && < 0.11
               , Cabal >= 1.9.2
               , eccrypto
@@ -68,6 +70,7 @@
 benchmark eccrypto-benchmark
   type:             exitcode-stdio-1.0
   hs-source-dirs:   bench
+  default-language: Haskell2010
   main-is:          bench.hs
   build-depends:    base >= 4 && < 5
                   , bytestring >= 0.10 && < 0.11
diff --git a/test/Tests.hs b/test/Tests.hs
--- a/test/Tests.hs
+++ b/test/Tests.hs
@@ -111,8 +111,8 @@
 
 testEd25519 :: BS.ByteString -> Test
 testEd25519 line = let x = C8.split ':' line
-                       sk = fst $ BS16.decode $ head x
-                       m = fst $ BS16.decode $ x !! 2
+                       Right sk = BS16.decode $ head x
+                       Right m = BS16.decode $ x !! 2
                        instanz = TestInstance { run = let mytest :: Either String ED.VerifyResult
                                                           mytest = do
                                                             pubkey <- ED.publickey $ EDi.SecKeyBytes sk
