Added some fixes in serial and Multicore path for scan and scan by key routines + Added some  offset and inplace test cases for scan and scan by key + removed warning from scan routines