Add credit card testing for strings. Closes #422