Fixed the test_card