Fixed test by setting the location