Fix more test warnings
This PR fixes a few more test warnings, and sets up the tests to fail whenever warnings are emitted, which might end up being a very bad idea.
This PR fixes a few more test warnings, and sets up the tests to fail whenever warnings are emitted, which might end up being a very bad idea.