Updated tests for card_type method