Add test to TriangleManager