Add vim tests for o/O when in EOF

Fixes #662 , actual fix at ec4e3a8f0d95091f8f43c046e6e355060e84b274 .

Closes #668

Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>