implementation for the time being
add test for mode-oriented states
check normal Ex mode as normal mode
test for operator-pending mode
refactoring: use dictionary for states of each mode