Refactor BufferedReaderIteratorTests