Added second scenario for validating address.
Refactored.