Why doesn't this log message show up in the test results?