@Override
  public int read() throws IOException {
    int read = inputStream.read();
    if (read != -1) fp++;
    return read;
  }
@Test
  public void readStartEnd() throws IOException {
    byte[] buff = new byte[100];
    int start = 5;
    int end = 10;

    int n = cs.read(buff, start, end);
    byte[] file = Arrays.copyOfRange(text, 0, end - start);
    byte[] buffer = Arrays.copyOfRange(buff, start, end);

    assertArrayEquals(file, buffer);
    assertEquals(end, n);
  }