Change from each to each_value on hash to avoid unused variable warning
Merge pull request #9651 from vipulnsward/change_to_each_value_intest

Change from each to each_value on hash to avoid unused variable warning