std::io: Take `&mut self` for iterators
std::io: Add tests for read_line and lines