Add unit tests for quadrature on TRIs and TETs

Also improve/fix up a few things in some of the other unit tests.