Added proper read stream type to test