Why do you do this? To be honest, the whole test is a bit unclear to me. You change a bit above and assert that the result is no longer equal -- that's fine -- but then you change another bit and check if it is still not equals. Even if the bitvectors were random, they would most likely be unequal, so checking for inequality many times after many changes does not seem to be a very useful thing to test.