The unit tests were ignoring stderr but nothing being output there was important. Now a test will fail if there is anything on stderr. This makes it easier to work with -fsanitize, which outputs to stderr.