[vim] Fix :registers unit tests