Connection#_write spec: Made examples more flexible