improve test coverage of #each_user_hash