Modified the scan related test cases to check for inplace scan with rand...

...om initilization for the input vector