Added NoSuchRecordException and StreamRecord tests