unit test and vector