strings.NewReader is more idiomatic than bytes.NewBuffer