Add EOF test for source file reader.