Renamed test related to generation of restrict to and restrict by for map domains