Prepare cabal file for tests.
Remove unnecessary constraints.
Initial commit of tests.