test: refactoring: started moving code to 'base.vim'