Let's add the same test for `map_with_hit` as well, please.