Fixed Player.getCard() and tested using new file test_player.py.