Add credit card unit tests