@Test
public void testGetSteve() {

  // Get steve back
  byte[] steveBytes = "steve".getBytes();
  // The end byte object should look like: steve\x01
  // This represents the next possible value which is allowable
  // since we pad the value with 6 null bytes.
  byte[] end = new byte[steveBytes.length + 1];
  System.arraycopy(steveBytes, 0, end, 0, steveBytes.length);
  end[end.length - 1] = 0x01;
  SeekingCurrentIterator indexIterator = termIndex.handleGet(steveBytes, end);
  // Test the returned data
  int count = 0;
  while (indexIterator.hasNext()) {
    Result result = indexIterator.next();
    count++;
    assertTrue(Bytes.compareTo(result.getRecordId(), rowIdBytes) == 0);
  }
  // Test if we have the expected number of results
  assertTrue(count == 1);
}