Add a test for warnings_as_errors option
Always print warnings to stderr