Added test for creating locations