public static Read read() {
    return new Read(null, "", new Scan());
  }
@Test
  public void testReadingKeyRangeMiddle() throws Exception {
    final String table = tmpTable.getName();
    final int numRows = 1001;
    final byte[] startRow = "2".getBytes(StandardCharsets.UTF_8);
    final byte[] stopRow = "9".getBytes(StandardCharsets.UTF_8);
    createAndWriteData(table, numRows);

    // Test restricted range: [startKey, endKey).
    // This one tests the second signature of .withKeyRange
    runReadTestLength(
        HBaseIO.read().withConfiguration(conf).withTableId(table).withKeyRange(startRow, stopRow),
        false,
        441);
  }