added test functions for Gaussian quadrature