Fixing invalid test for 10 digits with letters

`test_invalid_when_10_digits_with_extra_letters` is broken since it should test for 10 digits, but instead tests for 9.
Merge pull request #1429 from zakhi/patch-1

Fixing invalid test for 10 digits with letters