primary key test for byte arrays