fixing test_card_loading