StreamRecordTest fixed