unBufferedStream.seek(startPosition);
int bytesRead = unBufferedStream.read(buffer1, 0, length);
assertEquals(length, bytesRead);
byte[] buffer2 = new byte[length];
SeekableStream bufferedStream = new IGVSeekableBufferedStream(new SeekableHTTPStream(new URL(BAM_URL_STRING)));
bufferedStream.seek(startPosition);
bytesRead = bufferedStream.read(buffer2, 0, length);
assertEquals(length, bytesRead);
assertArraysEqual(buffer1, buffer2);