Doc fix for EPR 375670 and Merged test cases written by r-k for scan_by_...

...key function