binary key test