diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+# 0.1.0.3
+
+- Fix tests to allow inclusion in stackage.
+
 # 0.1.0.2
 
 - Relax version bounds to encompass `pretty-diff-0.2.0.0` and `base-4.14.0.0`.
diff --git a/nri-prelude.cabal b/nri-prelude.cabal
--- a/nri-prelude.cabal
+++ b/nri-prelude.cabal
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: ea55bb44b27db4aa3e8076c1e81eba4a3a5ea3110e5279c8f287b04e0860db2e
+-- hash: ee41ff653ca1fcf64b9ab1936a1da4d874f93d3a88165081669e5540a1f64a24
 
 name:           nri-prelude
-version:        0.1.0.2
+version:        0.1.0.3
 synopsis:       A Prelude inspired by the Elm programming language
 description:    Please see the README at <https://github.com/NoRedInk/haskell-libraries/tree/trunk/nri-prelude>.
 category:       Web
diff --git a/src/Internal/Expectation.hs b/src/Internal/Expectation.hs
--- a/src/Internal/Expectation.hs
+++ b/src/Internal/Expectation.hs
@@ -11,10 +11,10 @@
   )
 where
 
-import NriPrelude
 import Control.Monad.IO.Class (liftIO)
 import qualified Internal.TestResult as TestResult
 import Internal.TestResult (TestResult)
+import NriPrelude
 import Prelude (Applicative, Functor, IO, Monad, Show, pure)
 
 newtype Expectation a = Expectation (IO a)
diff --git a/src/Internal/Test.hs b/src/Internal/Test.hs
--- a/src/Internal/Test.hs
+++ b/src/Internal/Test.hs
@@ -11,7 +11,6 @@
   )
 where
 
-import NriPrelude
 import qualified Control.Exception.Safe as Exception
 import Control.Monad.IO.Class (MonadIO, liftIO)
 import qualified Data.Text
@@ -27,6 +26,7 @@
 import Internal.TestResult (TestResult)
 import List (List)
 import qualified List
+import NriPrelude
 import Test.Tasty (TestTree)
 import qualified Text
 import Prelude (IO, Monad, Show, pure, show, traverse)
diff --git a/src/Test/Console/Color.hs b/src/Test/Console/Color.hs
--- a/src/Test/Console/Color.hs
+++ b/src/Test/Console/Color.hs
@@ -11,9 +11,9 @@
   )
 where
 
-import NriPrelude
 import qualified Data.Text
 import List (List)
+import NriPrelude
 import qualified System.Console.ANSI as Console
 import Text (Text)
 
diff --git a/tests/ArraySpec.hs b/tests/ArraySpec.hs
--- a/tests/ArraySpec.hs
+++ b/tests/ArraySpec.hs
@@ -1,10 +1,10 @@
 module ArraySpec (tests) where
 
 import Array
-import NriPrelude hiding (map)
 import qualified Expect
 import qualified Fuzz
 import qualified List
+import NriPrelude hiding (map)
 import Test (Test, describe, fuzz, fuzz2, test)
 
 tests :: Test
diff --git a/tests/BitwiseSpec.hs b/tests/BitwiseSpec.hs
--- a/tests/BitwiseSpec.hs
+++ b/tests/BitwiseSpec.hs
@@ -1,8 +1,8 @@
 module BitwiseSpec (tests) where
 
 import Bitwise
-import NriPrelude
 import qualified Expect
+import NriPrelude
 import Test (Test, describe, test)
 
 tests :: Test
diff --git a/tests/DebugSpec.hs b/tests/DebugSpec.hs
--- a/tests/DebugSpec.hs
+++ b/tests/DebugSpec.hs
@@ -1,11 +1,11 @@
 module DebugSpec (tests) where
 
-import NriPrelude
 import Control.Exception.Safe (SomeException)
 import Control.Exception.Safe as Exception
 import qualified Debug
 import qualified Expect
 import List (head)
+import NriPrelude
 import Test (Test, describe, test)
 import qualified Text
 import Prelude (Either (Left, Right), Show)
diff --git a/tests/LogSpec.hs b/tests/LogSpec.hs
--- a/tests/LogSpec.hs
+++ b/tests/LogSpec.hs
@@ -1,6 +1,5 @@
 module LogSpec (tests) where
 
-import NriPrelude
 import qualified Control.Concurrent
 import qualified Control.Exception.Safe as Exception
 import qualified Data.IORef as IORef
@@ -8,6 +7,7 @@
 import qualified Expect
 import qualified GHC.Stack as Stack
 import Log
+import NriPrelude
 import qualified Platform.Internal as Internal
 import qualified Task
 import Test (Test, describe, test)
@@ -174,7 +174,7 @@
 
 instance Exception.Exception TestException
 
-newHandler :: Stack.HasCallStack => Prelude.IO (Prelude.IO [Internal.TracingSpan], Internal.Handler)
+newHandler :: Stack.HasCallStack => Prelude.IO (Prelude.IO [Internal.TracingSpan], Internal.LogHandler)
 newHandler = do
   recordedTracingSpans <- IORef.newIORef []
   handler <-
diff --git a/tests/PlatformSpec.hs b/tests/PlatformSpec.hs
--- a/tests/PlatformSpec.hs
+++ b/tests/PlatformSpec.hs
@@ -1,8 +1,8 @@
 module PlatformSpec (tests) where
 
-import NriPrelude
 import Data.Aeson as Aeson
 import qualified Expect
+import NriPrelude
 import qualified Platform
 import Test (Test, describe, test)
 
diff --git a/tests/SetSpec.hs b/tests/SetSpec.hs
--- a/tests/SetSpec.hs
+++ b/tests/SetSpec.hs
@@ -1,9 +1,9 @@
 module SetSpec (tests) where
 
-import NriPrelude
 import qualified Expect
 import List (List)
 import qualified List
+import NriPrelude
 import Set (Set)
 import qualified Set
 import Test (Test, describe, test)
diff --git a/tests/TextSpec.hs b/tests/TextSpec.hs
--- a/tests/TextSpec.hs
+++ b/tests/TextSpec.hs
@@ -1,7 +1,7 @@
 module TextSpec (tests) where
 
-import NriPrelude
 import qualified Expect
+import NriPrelude
 import Test (Test, describe, test)
 import Text
 
@@ -33,7 +33,7 @@
         [ test "uncons non-empty" <| \() ->
             Expect.equal (Just ('a', "bc")) (Text.uncons "abc"),
           test "uncons empty" <| \() ->
-            Expect.nothing (Text.uncons ""),
+            Expect.equal Nothing (Text.uncons ""),
           test "append 1" <| \() ->
             Expect.equal "butterfly" (Text.append "butter" "fly"),
           test "append 2" <| \() ->
