Added tests/checks for triangle types.