added triangle test suite and example file

All my commits squashed appropriately on this one :smile: