Some small fixes to the quadrature test code.