Spec tests updates in spec/hash_index.rb