Add vector unit tests