Fix failing specs for keys with private hash method
Specs for Hash when key has private hash method