Add new unit tests for X.vector.