Testing writing strings.