code: def test_emacs_kill_multiple_words_and_paste():
      # Using control-w twice should place both words on the clipboard.
      result, cli = _feed_cli_with_input(
          "hello world test\x17\x17--\x19\x19\r"  # Twice c-w.  Twice c-y.
      )
      assert result.text == "hello --world testworld test"
      assert cli.clipboard.get_data().text == "world test"
  
      # Using alt-d twice should place both words on the clipboard.
      result, cli = _feed_cli_with_input(
          "hello world test"
          "\x1bb\x1bb"  # Twice left.
          "\x1bd\x1bd"  # Twice kill-word.
          "abc"
          "\x19"  # Paste.
          "\r"
      )
      assert result.text == "hello abcworld test"
      assert cli.clipboard.get_data().text == "world test"
  
imports: from __future__ import annotations
  from functools import partial
  import pytest
  from prompt_toolkit.clipboard import ClipboardData, InMemoryClipboard
  from prompt_toolkit.enums import EditingMode
  from prompt_toolkit.filters import ViInsertMode
  from prompt_toolkit.history import InMemoryHistory
  from prompt_toolkit.input.defaults import create_pipe_input
  from prompt_toolkit.input.vt100_parser import ANSI_SEQUENCES
  from prompt_toolkit.key_binding.bindings.named_commands import prefix_meta
  from prompt_toolkit.key_binding.key_bindings import KeyBindings
  from prompt_toolkit.output import DummyOutput
  from prompt_toolkit.shortcuts import PromptSession
label_desc: Use image node_id 5 for calling a global function with example usage: test_emacs_kill_multiple_words_and_paste() without return types