Added stream read methods and tests