[AESH-233]
need to differentiate between emacs and vi mode when moving back and forth
[AESH-233]
fix emacs mode tests
fix movement, ctrl-d, +++