UnitTest: fix const reference bug in LinearReaderTest