add test for initialization and add mappings to move a cursor