Refactor Vim test runner

Export only some test running commands

`s:` makes functions script- (i.e. file-) local.

`command!` makes selected commands globally available again, using the <SID>
scope that's available while we're in this file.