Added tests for integral: trapezoidal, simpsons