Added unit tests for ReadStream