Improve vim tests

This PR adds support for fallback `vim_getwinvar` and adds quickfix_title segment tests.