Merge pull request #51 from avinashcpandey/v1.0

Doc fix for EPR 375670 and Merged test cases written by r-k for scan_by_...
Fixed some test cases - RK
fixed memory leaks.