adding test for negative hash values