Replace <Esc> with <CR> on test4
Remove duplicated code on BeforeEachTest function
Use FUNC_ATTR_DEFERRED on vim_feedkeys function.