Added TestTypes.hs as an extra source file to Cabal build

This way, the file will be included in source distributions generated
with `cabal sdist`.