Though the API allows this, you still want to test that in practice the hashes are different to ensure your performance is what you'd expect.  In practice, any exactly inequality will likely work since the chance of a random collision is 2^-32, so what you're really testing is whether there's no bug that makes all or many hash codes identical.