Test and model for locations