Run this from the terminal and then wait a few seconds
mvim -u NONE; sleep 2; osascript -e 'tell application "System Events" to keystroke "aThis text should get typed out in insert mode"'
and you see this as a result

which clearly does not show all of the text that should get typed out