bit vector testing