Fix vector unit test