more tests for piecewise_linear_1d module
added tests for speccon.intergrals  coslinaear etc