Concordance between card expiration methods

* Now both `validateCardExpiry` and `formatCardExpiry` validate that the date should be a number not greater than 4 digits.

* Test for this case added.