unit tests for creating locations complete and clean