Add test cases for Vector3D and Matrix3D.