Send error messages to STDOUT instead of STDERR

(And adjust the test that was giving a false positive anyway)