Convert the test to a test-suite.
This works with `stack` and `cabal new-test`. The latter uses the `build-tool-depends` field to locate the binary. Also: - Remove the reference to the nonexistent main file on Windows. - Make the test binary return a nonzero exit code when it fails. Still TODO: test in CI.