Add the unit test for Vim manage function.