added a unit test for the vi

backend, not UI