Add credit card testing for strings. Closes #42

Tests taken from @Christopher-Bui's initial PR.
for loop is more readable