code: def test_cursor_movement(_buffer):
      _buffer.insert_text("some_text")
      _buffer.cursor_left()
      _buffer.cursor_left()
      _buffer.cursor_left()
      _buffer.cursor_right()
      _buffer.insert_text("A")
  
      assert _buffer.text == "some_teAxt"
      assert _buffer.cursor_position == len("some_teA")
  
file_path: catboost/contrib/python/prompt-toolkit/py2/tests/test_buffer.py
imports: from __future__ import unicode_literals
  from prompt_toolkit.buffer import Buffer
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_cursor_movement(_buffer) without return types