typed: Add unit test for #778.
math.hashcodes: fix complex number-hashcodes.