Repair includes in unit test, too.
Add TriangleModel test.
Small modification.
Make a function from JSM.