Vim support

This isn't extensive test coverage or anything, but I've provided the assert_vim function it sounds like you were looking for and wired it up to a handful of your tests.  This should hopefully provide a basis for improved vim coverage.