some really old vimscript that I wrote to handle unit test in python