Tighten up hashcode test.