Prepare spec for isValidAddress.