Checking the parameters also checks that the localization function is called.