Index: src/webservice/tests/LocationTest.php
===================================================================
--- src/webservice/tests/LocationTest.php	(revision db3869689166c7f2f4ad48f564ba1e317cc5e531)
+++ src/webservice/tests/LocationTest.php	(revision 7271978802fa864be967315bc81a473539c6f02e)
@@ -33,10 +33,10 @@
 	}
 	
-	public function testZipCode(){
+	public function testPostalCode(){
 		$location = new \SiWeather\Webservice\Location("", "");
 		
 		$value = "12345";
-		$location->setZipCode($value);
-		$this->assertEquals($location->zipCode(), $value);
+		$location->setPostalCode($value);
+		$this->assertEquals($location->postalCode(), $value);
 	}
 	
@@ -59,4 +59,44 @@
 		$this->assertEquals($location->countryName(), $value1);
 		$this->assertEquals($location->countryCode(), $value2);
+	}
+
+	public function testValidLatitude_data(){
+		$result = array();
+		$result[] = array(null, false);
+		$result[] = array("asdasd", false);
+		$result[] = array(0, true);
+		$result[] = array(-90, true);
+		$result[] = array(90, true);
+		$result[] = array(85.1234, true);
+		$result[] = array(-90.0001, false);
+		$result[] = array(90.0001, false);
+		return $result;
+	}
+
+	/**
+		* @dataProvider testValidLatitude_data
+		*/
+	public function testValidLatitude($latitude, $result){
+		$this->assertEquals(\SiWeather\Webservice\Location::validLatitude($latitude), $result);
+	}
+
+	public function testValidLongitude_data(){
+		$result = array();
+		$result[] = array(null, false);
+		$result[] = array("asdasd", false);
+		$result[] = array(0, true);
+		$result[] = array(-90, true);
+		$result[] = array(90, true);
+		$result[] = array(85.1234, true);
+		$result[] = array(-180.0001, false);
+		$result[] = array(180.0001, false);
+		return $result;
+	}
+
+	/**
+		* @dataProvider testValidLongitude_data
+		*/
+	public function testValidLongitude($longitude, $result){
+		$this->assertEquals(\SiWeather\Webservice\Location::validLongitude($longitude), $result);
 	}
 	
@@ -82,5 +122,5 @@
 	public function constructor(){
 		$city = "Nice Place";
-		$zipCode = "0001";
+		$postalCode = "0001";
 		$regionName = "Nice Region";
 		$regionCode = "NR";
@@ -89,10 +129,10 @@
 		$longitude = 50;
 		$latitude = 20;
-		$location = new \SiWeather\Webservice\Location($city, $zipCode, $regionName,
+		$location = new \SiWeather\Webservice\Location($city, $postalCode, $regionName,
 													   $regionCode, $countryName, $countryCode,
 													   $latitude, $longitude);
 		
 		$this->assertEquals($location->city(), $city);
-		$this->assertEquals($location->zipCode(), $zipCode);
+		$this->assertEquals($location->postalCode(), $postalCode);
 		$this->assertEquals($location->regionName(), $regionName);
 		$this->assertEquals($location->regionCode(), $regionCode);
