quadrature test