more mods to ScratchPadTests (mostly cleaning up)
adding new adaptive quadrature test to FunctionTests, it passes.