Currently the test only runs the build without checking anything (except build failure indirectly).
We should check if the check warning is in the log.

And maybe we should also add a test with a build configured to fail on check errors.