Refactor common code in OnEnter of visual and select modes
Add select mode from insert mode unit tests
Fix duplicate keys in insert mode command map