condition added to all test cases for Geocoder to skip test if method is not defined.