public void testPosition() throws Exception {
PieceTable table = makePieceTable();
SeekInputStream asis = new ArraySeekInputStream(QUATRAIN_BYTES);
asis = new SafeSeekInputStream(asis);
PieceReader reader = new PieceReader(table, asis);
StringBuilder sb = new StringBuilder();
for (int ch = reader.read(); ch > 0; ch = reader.read()) {
sb.append((char)ch);
}