@Test
public void testSkipReadEnd() throws IOException
{

    final int count = 128;
    TailStream stream = new TailStream(generateStream(0, count), 2 * count);
    readStream(stream);
    assertEquals("Wrong result", -1, stream.skip(1));
}