Tests for vector and matrix3d