The testsuite works when I add the missing test.hs file.
This is a bug in cabal which is fixed. However I don't think that fix is already in any released version.
I could work around it by listing test.hs in the extra-source-files field but I rather wait for a new cabal release.
That's fine, thanks for letting us know about the cabal bug, we just workaround it by copying the test.hs file:
Hi markwright, just to let you know: Bryan O'Sullivan needed this to be temporarily fixed in the cabal file so I released version 0.2.0.3 with the fix.