Fixed tests for creating a location