These tests seem a bit odd.  The hash has to be an integer.