There is only a test here for `'Visa'`, but your card type logic includes several others. Did you fully TDD that method?