testing: using utils.NewStdWriter.