Test binary array