Add tests for vector type.