Some streamlining in the quadrature tests.