Optimization changes for read/write memory + minor test changes
Merge pull request #78 from avinashcpandey/develop

Optimization changes for read/write memory + minor test changes