rec = new Record();
for (int i = 0; i < values.length; i++) {
final int pos = permutation1[i];
rec.setField(pos, values[pos]);
}
rec.updateBinaryRepresenation();
testAllRetrievalMethods(rec, permutation2, values);
// test adding and retrieving with intermediate binary updating
rec = new Record();
int updatePos = rnd.nextInt(values.length + 1);