Added testAddCard()