@Test
public void testConstructorWithSpecificLength() throws IOException {

  stream = new RandomAccessFileInputStream(tempFile, 5, 2);
  Assert.assertEquals(5, stream.read());
  Assert.assertEquals(6, stream.read());
  Assert.assertEquals(-1, stream.read());
}