Added tests for Triangle + related classes.