spec for validating address hash