Testing location model to persist it