test: Refactor assert_visit_stats_ok to ignore_fields
This simplifies and unifies properly the utility test function to compare visit stats.