Added tests for Triangle class