Fix build

Missing source file declaration in .cabal file. Thanks to Herbert
Valerio Riedel for the report.

Adjust test suite so that tests/Check.hs is only a Main module and
Main.main function; test suite functions move to tests/TestSuite.hs