Test the location filter.