fixed triangle class and the consequent tests