Fixed a problem with the way `cabal test` expectes modules to work.