Introduce doctest for the tests. https://github.com/sol/doctest-haskell#readme