Add tests for vector and triangle