Finalized card.rb and card_tests.rb