A safer TestReadStreamDirect