Add vim tests for o/O when in EOF

Relates to #662