Added tests for Card.