add tests for ctrl-a
add tests
add tests for 'A' action
Fix repeat of insert

Fixed the issue that repeat by '.' after inserting characters by 'i'
doesn't work.