math.hashcodes: better tests.